Enum ServerMsgKindRaw

Source
pub enum ServerMsgKindRaw<'a> {
    Numeric(Numeric),
    Cmd(Cmd<'a>),
}
Expand description

Either an alphabetic command or a numeric reply.

Variants§

§

Numeric(Numeric)

§

Cmd(Cmd<'a>)

Implementations§

Source§

impl<'a> ServerMsgKindRaw<'a>

Source

pub fn owning(self) -> ServerMsgKindRaw<'static>

Converts self into a version that owns its data.

Source

pub const fn as_arg(&self) -> Arg<'_>

Returns self’s value as an Arg.

Source

pub const fn as_str(&self) -> &str

Returns a reference to self’s value as a str.

Source

pub const fn len(&self) -> usize

The length of the server message kind, in bytes.

This value is guaranteed to be non-zero.

Source

pub const fn is_error(&self) -> Option<bool>

Returns Some(true) if self represents an error, Some(false) if it does not, or None if it’s unknown.

Trait Implementations§

Source§

impl<'a> Borrow<[u8]> for ServerMsgKindRaw<'a>

Source§

fn borrow(&self) -> &[u8]

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for ACCOUNT

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for AUTHENTICATE

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for AWAY

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for BATCH

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for CAP

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for CHGHOST

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for ERROR

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for FAIL

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for INVITE

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for JOIN

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for KICK

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for MODE

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for NICK

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for NOTE

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for NOTICE

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for PART

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for PING

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for PONG

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for PRIVMSG

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for QUIT

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for REGISTER

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for SETNAME

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for TAGMSG

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for TOPIC

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for VERIFY

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for WALLOPS

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Borrow<ServerMsgKindRaw<'a>> for WARN

Source§

fn borrow(&self) -> &ServerMsgKindRaw<'a>

Immutably borrows from an owned value. Read more
Source§

impl<'a> Clone for ServerMsgKindRaw<'a>

Source§

fn clone(&self) -> ServerMsgKindRaw<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for ServerMsgKindRaw<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, 'a> Deserialize<'de> for ServerMsgKindRaw<'a>

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<ACCOUNT> for ServerMsgKindRaw<'static>

Source§

fn from(v: ACCOUNT) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<AUTHENTICATE> for ServerMsgKindRaw<'static>

Source§

fn from(v: AUTHENTICATE) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<AWAY> for ServerMsgKindRaw<'static>

Source§

fn from(v: AWAY) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<BATCH> for ServerMsgKindRaw<'static>

Source§

fn from(v: BATCH) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<CAP> for ServerMsgKindRaw<'static>

Source§

fn from(v: CAP) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<CHGHOST> for ServerMsgKindRaw<'static>

Source§

fn from(v: CHGHOST) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl<'a> From<Cmd<'a>> for ServerMsgKindRaw<'a>

Source§

fn from(value: Cmd<'a>) -> Self

Converts to this type from the input type.
Source§

impl From<ERROR> for ServerMsgKindRaw<'static>

Source§

fn from(v: ERROR) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<FAIL> for ServerMsgKindRaw<'static>

Source§

fn from(v: FAIL) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<INVITE> for ServerMsgKindRaw<'static>

Source§

fn from(v: INVITE) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<JOIN> for ServerMsgKindRaw<'static>

Source§

fn from(v: JOIN) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<KICK> for ServerMsgKindRaw<'static>

Source§

fn from(v: KICK) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<MODE> for ServerMsgKindRaw<'static>

Source§

fn from(v: MODE) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<NICK> for ServerMsgKindRaw<'static>

Source§

fn from(v: NICK) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<NOTE> for ServerMsgKindRaw<'static>

Source§

fn from(v: NOTE) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<NOTICE> for ServerMsgKindRaw<'static>

Source§

fn from(v: NOTICE) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl<'a> From<Numeric> for ServerMsgKindRaw<'a>

Source§

fn from(value: Numeric) -> Self

Converts to this type from the input type.
Source§

impl From<PART> for ServerMsgKindRaw<'static>

Source§

fn from(v: PART) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<PING> for ServerMsgKindRaw<'static>

Source§

fn from(v: PING) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<PONG> for ServerMsgKindRaw<'static>

Source§

fn from(v: PONG) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<PRIVMSG> for ServerMsgKindRaw<'static>

Source§

fn from(v: PRIVMSG) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<QUIT> for ServerMsgKindRaw<'static>

Source§

fn from(v: QUIT) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<REGISTER> for ServerMsgKindRaw<'static>

Source§

fn from(v: REGISTER) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<SETNAME> for ServerMsgKindRaw<'static>

Source§

fn from(v: SETNAME) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<TAGMSG> for ServerMsgKindRaw<'static>

Source§

fn from(v: TAGMSG) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<TOPIC> for ServerMsgKindRaw<'static>

Source§

fn from(v: TOPIC) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<VERIFY> for ServerMsgKindRaw<'static>

Source§

fn from(v: VERIFY) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<WALLOPS> for ServerMsgKindRaw<'static>

Source§

fn from(v: WALLOPS) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl From<WARN> for ServerMsgKindRaw<'static>

Source§

fn from(v: WARN) -> ServerMsgKindRaw<'static>

Converts to this type from the input type.
Source§

impl<'a> Hash for ServerMsgKindRaw<'a>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<'a> Ord for ServerMsgKindRaw<'a>

Source§

fn cmp(&self, other: &ServerMsgKindRaw<'a>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl<'a> PartialEq<&[u8]> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &&[u8]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<&str> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &&str) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<[u8]> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &[u8]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ACCOUNT> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &ACCOUNT) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<AUTHENTICATE> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &AUTHENTICATE) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<AWAY> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &AWAY) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<BATCH> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &BATCH) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<CAP> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &CAP) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<CHGHOST> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &CHGHOST) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<Cmd<'_>> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &Cmd<'_>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ERROR> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &ERROR) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<FAIL> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &FAIL) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<INVITE> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &INVITE) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<JOIN> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &JOIN) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<KICK> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &KICK) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<MODE> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &MODE) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<NICK> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &NICK) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<NOTE> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &NOTE) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<NOTICE> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &NOTICE) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<Numeric> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &Numeric) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<PART> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &PART) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<PING> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &PING) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<PONG> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &PONG) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<PRIVMSG> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &PRIVMSG) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<QUIT> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &QUIT) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<REGISTER> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &REGISTER) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<SETNAME> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &SETNAME) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for ACCOUNT

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for AUTHENTICATE

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for AWAY

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for BATCH

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for CAP

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for CHGHOST

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for ERROR

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for FAIL

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for INVITE

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for JOIN

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for KICK

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for MODE

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for NICK

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for NOTE

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for NOTICE

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for PART

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for PING

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for PONG

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for PRIVMSG

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for QUIT

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for REGISTER

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for SETNAME

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for TAGMSG

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for TOPIC

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for VERIFY

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for WALLOPS

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<ServerMsgKindRaw<'a>> for WARN

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<TAGMSG> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &TAGMSG) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<TOPIC> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &TOPIC) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<VERIFY> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &VERIFY) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<WALLOPS> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &WALLOPS) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<WARN> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &WARN) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<str> for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &str) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq for ServerMsgKindRaw<'a>

Source§

fn eq(&self, other: &ServerMsgKindRaw<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialOrd for ServerMsgKindRaw<'a>

Source§

fn partial_cmp(&self, other: &ServerMsgKindRaw<'a>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<'a> Serialize for ServerMsgKindRaw<'a>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> Eq for ServerMsgKindRaw<'a>

Source§

impl<'a> StructuralPartialEq for ServerMsgKindRaw<'a>

Auto Trait Implementations§

§

impl<'a> !Freeze for ServerMsgKindRaw<'a>

§

impl<'a> RefUnwindSafe for ServerMsgKindRaw<'a>

§

impl<'a> Send for ServerMsgKindRaw<'a>

§

impl<'a> Sync for ServerMsgKindRaw<'a>

§

impl<'a> Unpin for ServerMsgKindRaw<'a>

§

impl<'a> UnwindSafe for ServerMsgKindRaw<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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