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<Handle> for Handle
impl PartialEq<Handle> for Handle
source§impl PartialOrd<Handle> for Handle
impl PartialOrd<Handle> 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 more