[][src]Enum irc_proto::command::CapSubCommand

pub enum CapSubCommand {
    LS,
    LIST,
    REQ,
    ACK,
    NAK,
    END,
    NEW,
    DEL,
}

A list of all of the subcommands for the capabilities extension.

Variants

LS

Requests a list of the server's capabilities.

LIST

Requests a list of the server's capabilities.

REQ

Requests specific capabilities blindly.

ACK

Acknowledges capabilities.

NAK

Does not acknowledge certain capabilities.

END

Ends the capability negotiation before registration.

NEW

Signals that new capabilities are now being offered.

DEL

Signasl that the specified capabilities are cancelled and no longer available.

Implementations

impl CapSubCommand[src]

pub fn to_str(&self) -> &str[src]

Gets the string that corresponds to this subcommand.

Trait Implementations

impl Clone for CapSubCommand[src]

impl Copy for CapSubCommand[src]

impl Debug for CapSubCommand[src]

impl FromStr for CapSubCommand[src]

type Err = MessageParseError

The associated error which can be returned from parsing.

impl PartialEq<CapSubCommand> for CapSubCommand[src]

impl StructuralPartialEq for CapSubCommand[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> 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.