pub struct Handle(pub u32);
Expand description
A Handle
is used to represent a task’s access to a kernel object. It is allocated by the kernel and is unique
to the task to which it is issued - a kernel object can have handles in multiple tasks (and the numbers will
not be shared between those tasks).
Tuple Fields§
§0: u32
Trait Implementations§
source§impl<'de> Deserialize<'de> for Handle
impl<'de> Deserialize<'de> for Handle
fn deserialize(deserializer: &mut Deserializer<'de>) -> Result<Handle>
source§impl Ord for Handle
impl Ord for Handle
source§impl PartialEq for Handle
impl PartialEq for Handle
source§impl PartialOrd for Handle
impl PartialOrd for Handle
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 Eq for Handle
impl StructuralEq for Handle
impl StructuralPartialEq for Handle
Auto Trait Implementations§
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnwindSafe for Handle
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