Enum twizzler_abi::kso::KactionCmd
source · #[repr(C)]pub enum KactionCmd {
Generic(KactionGenericCmd),
Specific(u32),
}
Expand description
A KAction command, either generic or KSO-specific.
Variants§
Generic(KactionGenericCmd)
Specific(u32)
Trait Implementations§
source§impl Clone for KactionCmd
impl Clone for KactionCmd
source§fn clone(&self) -> KactionCmd
fn clone(&self) -> KactionCmd
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 KactionCmd
impl Debug for KactionCmd
source§impl From<KactionCmd> for u64
impl From<KactionCmd> for u64
source§fn from(x: KactionCmd) -> Self
fn from(x: KactionCmd) -> Self
Converts to this type from the input type.
source§impl Ord for KactionCmd
impl Ord for KactionCmd
source§fn cmp(&self, other: &KactionCmd) -> Ordering
fn cmp(&self, other: &KactionCmd) -> 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<KactionCmd> for KactionCmd
impl PartialEq<KactionCmd> for KactionCmd
source§fn eq(&self, other: &KactionCmd) -> bool
fn eq(&self, other: &KactionCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<KactionCmd> for KactionCmd
impl PartialOrd<KactionCmd> for KactionCmd
source§fn partial_cmp(&self, other: &KactionCmd) -> Option<Ordering>
fn partial_cmp(&self, other: &KactionCmd) -> 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 KactionCmd
impl TryFrom<u64> for KactionCmd
§type Error = KactionError
type Error = KactionError
The type returned in the event of a conversion error.
source§fn try_from(x: u64) -> Result<KactionCmd, KactionError>
fn try_from(x: u64) -> Result<KactionCmd, KactionError>
Performs the conversion.
impl Copy for KactionCmd
impl Eq for KactionCmd
impl StructuralEq for KactionCmd
impl StructuralPartialEq for KactionCmd
Auto Trait Implementations§
impl ObjSafe for KactionCmd
impl RefUnwindSafe for KactionCmd
impl Send for KactionCmd
impl Sync for KactionCmd
impl Unpin for KactionCmd
impl UnwindSafe for KactionCmd
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