Enum twizzler_abi::kso::KactionGenericCmd
source · #[repr(C)]pub enum KactionGenericCmd {
GetKsoRoot,
GetChild(u16),
GetSubObject(u8, u8),
PinPages(u16),
ReleasePin,
}
Expand description
A generic kaction command, applies to all KSOs.
Variants§
GetKsoRoot
Get the root of the KSO tree.
GetChild(u16)
Get a child object.
GetSubObject(u8, u8)
Get a sub-object.
PinPages(u16)
Pin pages of object memory.
ReleasePin
Release Pin
Trait Implementations§
source§impl Clone for KactionGenericCmd
impl Clone for KactionGenericCmd
source§fn clone(&self) -> KactionGenericCmd
fn clone(&self) -> KactionGenericCmd
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 KactionGenericCmd
impl Debug for KactionGenericCmd
source§impl From<KactionGenericCmd> for u32
impl From<KactionGenericCmd> for u32
source§fn from(x: KactionGenericCmd) -> Self
fn from(x: KactionGenericCmd) -> Self
Converts to this type from the input type.
source§impl Ord for KactionGenericCmd
impl Ord for KactionGenericCmd
source§fn cmp(&self, other: &KactionGenericCmd) -> Ordering
fn cmp(&self, other: &KactionGenericCmd) -> 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<KactionGenericCmd> for KactionGenericCmd
impl PartialEq<KactionGenericCmd> for KactionGenericCmd
source§fn eq(&self, other: &KactionGenericCmd) -> bool
fn eq(&self, other: &KactionGenericCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<KactionGenericCmd> for KactionGenericCmd
impl PartialOrd<KactionGenericCmd> for KactionGenericCmd
source§fn partial_cmp(&self, other: &KactionGenericCmd) -> Option<Ordering>
fn partial_cmp(&self, other: &KactionGenericCmd) -> 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<u32> for KactionGenericCmd
impl TryFrom<u32> for KactionGenericCmd
§type Error = KactionError
type Error = KactionError
The type returned in the event of a conversion error.
source§fn try_from(x: u32) -> Result<KactionGenericCmd, KactionError>
fn try_from(x: u32) -> Result<KactionGenericCmd, KactionError>
Performs the conversion.
impl Copy for KactionGenericCmd
impl Eq for KactionGenericCmd
impl StructuralEq for KactionGenericCmd
impl StructuralPartialEq for KactionGenericCmd
Auto Trait Implementations§
impl ObjSafe for KactionGenericCmd
impl RefUnwindSafe for KactionGenericCmd
impl Send for KactionGenericCmd
impl Sync for KactionGenericCmd
impl Unpin for KactionGenericCmd
impl UnwindSafe for KactionGenericCmd
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