#[repr(u8)]pub enum HandleKind {
Agent = 1,
Region = 2,
MemoryPool = 3,
Signal = 4,
Queue = 5,
}Expand description
Discriminator stored in the high bits of a packed handle.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HandleKind
impl Clone for HandleKind
Source§fn clone(&self) -> HandleKind
fn clone(&self) -> HandleKind
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 HandleKind
Source§impl Debug for HandleKind
impl Debug for HandleKind
impl Eq for HandleKind
Source§impl Hash for HandleKind
impl Hash for HandleKind
Source§impl PartialEq for HandleKind
impl PartialEq for HandleKind
impl StructuralPartialEq for HandleKind
Auto Trait Implementations§
impl Freeze for HandleKind
impl RefUnwindSafe for HandleKind
impl Send for HandleKind
impl Sync for HandleKind
impl Unpin for HandleKind
impl UnsafeUnpin for HandleKind
impl UnwindSafe for HandleKind
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