[][src]Enum koibumi_core::packet::CommandKind

pub enum CommandKind {
    Error,
    Getdata,
    Inv,
    Dinv,
    Object,
    Addr,
    Portcheck,
    Ping,
    Pong,
    Verack,
    Version,
}

Known types of Bitmessage messages.

Variants

Error

The "error" command.

Getdata

The "getdata" command.

Inv

The "inv" command.

Dinv

The "dinv" command.

Object

The "object" command.

Addr

The "addr" command.

Portcheck

The "portcheck" command.

Ping

The "ping" command.

Pong

The "pong" command.

Verack

The "verack" command.

Version

The "version" command.

Trait Implementations

impl Clone for CommandKind[src]

impl Copy for CommandKind[src]

impl Debug for CommandKind[src]

impl Eq for CommandKind[src]

impl From<&'_ CommandKind> for Command[src]

impl From<CommandKind> for Command[src]

impl Hash for CommandKind[src]

impl PartialEq<CommandKind> for CommandKind[src]

impl ReadFrom for CommandKind[src]

impl StructuralEq for CommandKind[src]

impl StructuralPartialEq for CommandKind[src]

impl TryFrom<Command> for CommandKind[src]

type Error = TryFromCommandError

The type returned in the event of a conversion error.

impl WriteTo for CommandKind[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> ReadFromExact for T where
    T: ReadFrom
[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.