[][src]Enum cjdns_ctrl::CtrlMessageType

#[repr(u16)]pub enum CtrlMessageType {
    Error,
    Ping,
    Pong,
    KeyPing,
    KeyPong,
    GetSuperNodeQuery,
    GetSuperNodeResponse,
}

Control message type, which is considered as message header

Variants

Error
Ping
Pong
KeyPing
KeyPong
GetSuperNodeQuery
GetSuperNodeResponse

Trait Implementations

impl Clone for CtrlMessageType[src]

impl Copy for CtrlMessageType[src]

impl Debug for CtrlMessageType[src]

impl Eq for CtrlMessageType[src]

impl From<CtrlMessageType> for u16[src]

impl PartialEq<CtrlMessageType> for CtrlMessageType[src]

impl StructuralEq for CtrlMessageType[src]

impl StructuralPartialEq for CtrlMessageType[src]

impl TryFrom<u16> for CtrlMessageType[src]

type Error = TryFromPrimitiveError<Self>

The type returned in the event of a conversion error.

impl TryFromPrimitive for CtrlMessageType[src]

type Primitive = u16

Auto Trait Implementations

impl RefUnwindSafe for CtrlMessageType

impl Send for CtrlMessageType

impl Sync for CtrlMessageType

impl Unpin for CtrlMessageType

impl UnwindSafe for CtrlMessageType

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