pub enum WireMessage {
VarInt(u64),
Length(Vec<u8>),
Fixed32(u32),
}
Variants§
Trait Implementations§
source§impl Clone for WireMessage
impl Clone for WireMessage
source§fn clone(&self) -> WireMessage
fn clone(&self) -> WireMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WireMessage
impl Debug for WireMessage
source§impl Ord for WireMessage
impl Ord for WireMessage
source§fn cmp(&self, other: &WireMessage) -> Ordering
fn cmp(&self, other: &WireMessage) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<WireMessage> for WireMessage
impl PartialEq<WireMessage> for WireMessage
source§fn eq(&self, other: &WireMessage) -> bool
fn eq(&self, other: &WireMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<WireMessage> for WireMessage
impl PartialOrd<WireMessage> for WireMessage
source§fn partial_cmp(&self, other: &WireMessage) -> Option<Ordering>
fn partial_cmp(&self, other: &WireMessage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more