#[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 for KactionGenericCmd
impl PartialEq for KactionGenericCmd
source§impl PartialOrd for KactionGenericCmd
impl PartialOrd for KactionGenericCmd
source§impl TryFrom<u32> for KactionGenericCmd
impl TryFrom<u32> for KactionGenericCmd
source§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 StructuralPartialEq for KactionGenericCmd
Auto Trait Implementations§
impl Freeze for KactionGenericCmd
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.