Struct compio_driver::Key
source · pub struct Key<T> { /* private fields */ }
Expand description
A typed wrapper for key of Ops submitted into driver
Implementations§
Methods from Deref<Target = usize>§
pub const MIN: usize = 0usize
pub const MAX: usize = 18_446_744_073_709_551_615usize
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: PartialEq> PartialEq for Key<T>
impl<T: PartialEq> PartialEq for Key<T>
impl<T> Copy for Key<T>
impl<T: Eq> Eq for Key<T>
impl<T> StructuralPartialEq for Key<T>
impl<T> Unpin for Key<T>
Auto Trait Implementations§
impl<T> Freeze for Key<T>
impl<T> RefUnwindSafe for Key<T>
impl<T> Send for Key<T>
impl<T> Sync for Key<T>
impl<T> UnwindSafe for Key<T>
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