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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for WireMessage
impl PartialEq for WireMessage
Source§impl PartialOrd for WireMessage
impl PartialOrd for WireMessage
impl Eq for WireMessage
impl StructuralPartialEq for WireMessage
Auto Trait Implementations§
impl Freeze for WireMessage
impl RefUnwindSafe for WireMessage
impl Send for WireMessage
impl Sync for WireMessage
impl Unpin for WireMessage
impl UnwindSafe for WireMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more