[][src]Enum lib3h_protocol::protocol::Lib3hToClient

pub enum Lib3hToClient {
    Connected(ConnectedData),
    Unbound(UnboundData),
    SendDirectMessageResult(DirectMessageData),
    HandleSendDirectMessage(DirectMessageData),
    HandleFetchEntry(FetchEntryData),
    HandleStoreEntryAspect(StoreEntryAspectData),
    HandleDropEntry(DropEntryData),
    HandleQueryEntry(QueryEntryData),
    HandleGetAuthoringEntryList(GetListData),
    HandleGetGossipingEntryList(GetListData),
}

Variants

Connected(ConnectedData)

Notification of successful connection to a network

Unbound(UnboundData)

Notification of disconnection from a network

SendDirectMessageResult(DirectMessageData)

the response received from a previous SendDirectMessage

HandleSendDirectMessage(DirectMessageData)

Request to handle a direct message another agent has sent us.

HandleFetchEntry(FetchEntryData)

Another node, or the network module itself is requesting data from us

HandleStoreEntryAspect(StoreEntryAspectData)

Store data on a node's dht arc.

HandleDropEntry(DropEntryData)

Local client does not need to hold that entry anymore. Local client doesn't 'have to' comply.

HandleQueryEntry(QueryEntryData)

Request a node to handle a QueryEntry request

HandleGetAuthoringEntryList(GetListData)
HandleGetGossipingEntryList(GetListData)

Trait Implementations

impl Clone for Lib3hToClient[src]

impl Debug for Lib3hToClient[src]

impl<'de> Deserialize<'de> for Lib3hToClient[src]

impl From<Lib3hToClient> for Lib3hServerProtocol[src]

impl PartialEq<Lib3hToClient> for Lib3hToClient[src]

impl Serialize for Lib3hToClient[src]

impl StructuralPartialEq for Lib3hToClient[src]

impl TryFrom<Lib3hServerProtocol> for Lib3hToClient[src]

type Error = Lib3hProtocolError

The type returned in the event of a conversion error.

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> Clone for T where
    T: Clone
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,