Enum zenoh_protocol::core::resolution::Bits
source · #[repr(u8)]pub enum Bits {
U8 = 0,
U16 = 1,
U32 = 2,
U64 = 3,
}Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Bits
impl<'de> Deserialize<'de> for Bits
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
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 Ord for Bits
impl Ord for Bits
source§impl PartialEq for Bits
impl PartialEq for Bits
source§impl PartialOrd for Bits
impl PartialOrd for Bits
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 moreimpl Copy for Bits
impl Eq for Bits
impl StructuralPartialEq for Bits
Auto Trait Implementations§
impl Freeze for Bits
impl RefUnwindSafe for Bits
impl Send for Bits
impl Sync for Bits
impl Unpin for Bits
impl UnwindSafe for Bits
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