[][src]Struct quix::node::NodeControl

pub struct NodeControl {
    pub dispatch: HashMap<u64, NodeHandler>,
    pub listeners: HashMap<Uuid, Recipient<NodeUpdate>>,
    // some fields omitted
}

Fields

dispatch: HashMap<u64, NodeHandler>

Dispatcher for unaddressed messages.

Messages which are sent to process id of 00000000000000000.... are considered unadressed, and are dispatched from here

listeners: HashMap<Uuid, Recipient<NodeUpdate>>

Trait Implementations

impl Actor for NodeControl[src]

type Context = Context<Self>

Actor execution context type

impl Default for NodeControl[src]

impl Handler<Broadcast> for NodeControl[src]

type Result = ()

The type of value that this handler will return. Read more

impl Handler<Connect> for NodeControl[src]

type Result = ResponseActFuture<Self, Addr<NodeLink>>

The type of value that this handler will return. Read more

impl Handler<NodeUpdate> for NodeControl[src]

type Result = ()

The type of value that this handler will return. Read more

impl Handler<RecvFromNode<Dispatch>> for NodeControl[src]

type Result = ()

The type of value that this handler will return. Read more

impl Handler<RegisterRecipient<NodeUpdate>> for NodeControl[src]

type Result = Result<Uuid, Infallible>

The type of value that this handler will return. Read more

impl Handler<RegisterSystemHandler> for NodeControl[src]

type Result = ()

The type of value that this handler will return. Read more

impl Handler<SendToNode> for NodeControl[src]

type Result = Response<Bytes, DispatchError>

The type of value that this handler will return. Read more

impl StreamHandler<Result<TcpStream, Error>> for NodeControl[src]

impl Supervised for NodeControl[src]

impl SystemService for NodeControl[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,