#[repr(u8)]pub enum Zero {
NORMAL = 0,
ZERO_DATA = 1,
}
Variants§
NORMAL = 0
No zero-length data received, use value in SIZE
ZERO_DATA = 1
Zero-length data received, ignore value in SIZE
Implementations§
Trait Implementations§
Source§impl Ord for Zero
impl Ord for Zero
Source§impl PartialOrd for Zero
impl PartialOrd for Zero
impl Copy for Zero
impl Eq for Zero
impl StructuralPartialEq for Zero
Auto Trait Implementations§
impl Freeze for Zero
impl RefUnwindSafe for Zero
impl Send for Zero
impl Sync for Zero
impl Unpin for Zero
impl UnwindSafe for Zero
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)