pub enum PacketLengthWidth {
Legacy16,
Large32,
}Variants§
Trait Implementations§
Source§impl Clone for PacketLengthWidth
impl Clone for PacketLengthWidth
Source§fn clone(&self) -> PacketLengthWidth
fn clone(&self) -> PacketLengthWidth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PacketLengthWidth
Source§impl Debug for PacketLengthWidth
impl Debug for PacketLengthWidth
impl Eq for PacketLengthWidth
Source§impl PartialEq for PacketLengthWidth
impl PartialEq for PacketLengthWidth
Source§fn eq(&self, other: &PacketLengthWidth) -> bool
fn eq(&self, other: &PacketLengthWidth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PacketLengthWidth
Auto Trait Implementations§
impl Freeze for PacketLengthWidth
impl RefUnwindSafe for PacketLengthWidth
impl Send for PacketLengthWidth
impl Sync for PacketLengthWidth
impl Unpin for PacketLengthWidth
impl UnsafeUnpin for PacketLengthWidth
impl UnwindSafe for PacketLengthWidth
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