Enum twizzler_abi::syscall::HandleType
source · #[repr(u64)]pub enum HandleType {
VmContext,
PagerQueue,
}
Expand description
Possible kernel handle types.
Variants§
Trait Implementations§
source§impl Clone for HandleType
impl Clone for HandleType
source§fn clone(&self) -> HandleType
fn clone(&self) -> HandleType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HandleType
impl Debug for HandleType
source§impl Ord for HandleType
impl Ord for HandleType
source§fn cmp(&self, other: &HandleType) -> Ordering
fn cmp(&self, other: &HandleType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HandleType> for HandleType
impl PartialEq<HandleType> for HandleType
source§fn eq(&self, other: &HandleType) -> bool
fn eq(&self, other: &HandleType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<HandleType> for HandleType
impl PartialOrd<HandleType> for HandleType
source§fn partial_cmp(&self, other: &HandleType) -> Option<Ordering>
fn partial_cmp(&self, other: &HandleType) -> Option<Ordering>
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 moresource§impl TryFrom<u64> for HandleType
impl TryFrom<u64> for HandleType
impl Copy for HandleType
impl Eq for HandleType
impl StructuralEq for HandleType
impl StructuralPartialEq for HandleType
Auto Trait Implementations§
impl ObjSafe for HandleType
impl RefUnwindSafe for HandleType
impl Send for HandleType
impl Sync for HandleType
impl Unpin for HandleType
impl UnwindSafe for HandleType
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