forked from NextGraph/nextgraph-rs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
399 B
20 lines
399 B
use crate::{actor::*, errors::ProtocolError};
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
|
pub struct NoiseV0 {
|
|
data: Vec<u8>,
|
|
}
|
|
|
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
|
pub enum Noise {
|
|
V0(NoiseV0),
|
|
}
|
|
|
|
impl BrokerRequest for Noise {}
|
|
|
|
impl Actor<'_, Noise, ()> {}
|
|
|
|
impl IActor for Actor<'_, Noise, ()> {
|
|
//fn process_request(&self) {}
|
|
}
|
|
|