[][src]Enum lib3h_protocol::protocol::ClientToLib3hResponse

pub enum ClientToLib3hResponse {
    BootstrapSuccess,
    SendDirectMessageResult(DirectMessageData),
    FetchEntryResult(FetchEntryResultData),
    QueryEntryResult(QueryEntryResultData),
    JoinSpaceResult,
    LeaveSpaceResult,
}

Variants

BootstrapSuccess

we were able to bootstrap to the remote

SendDirectMessageResult(DirectMessageData)

the response received from a previous SendDirectMessage

FetchEntryResult(FetchEntryResultData)

Response from requesting dht data from the network

QueryEntryResult(QueryEntryResultData)

Response to a QueryEntry request

JoinSpaceResult
LeaveSpaceResult

Trait Implementations

impl Clone for ClientToLib3hResponse[src]

impl Debug for ClientToLib3hResponse[src]

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

impl From<ClientToLib3hResponse> for Lib3hServerProtocol[src]

impl From<Lib3hServerProtocol> for ClientToLib3hResponse[src]

impl PartialEq<ClientToLib3hResponse> for ClientToLib3hResponse[src]

impl Serialize for ClientToLib3hResponse[src]

impl StructuralPartialEq for ClientToLib3hResponse[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> 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>,