pub struct RequestFromKernel { /* private fields */ }
Implementations§
source§impl RequestFromKernel
impl RequestFromKernel
pub fn new(cmd: KernelCommand) -> Self
pub fn cmd(&self) -> KernelCommand
Trait Implementations§
source§impl Clone for RequestFromKernel
impl Clone for RequestFromKernel
source§fn clone(&self) -> RequestFromKernel
fn clone(&self) -> RequestFromKernel
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 RequestFromKernel
impl Debug for RequestFromKernel
source§impl Ord for RequestFromKernel
impl Ord for RequestFromKernel
source§fn cmp(&self, other: &RequestFromKernel) -> Ordering
fn cmp(&self, other: &RequestFromKernel) -> 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 RequestFromKernel
impl PartialEq for RequestFromKernel
source§impl PartialOrd for RequestFromKernel
impl PartialOrd for RequestFromKernel
impl Copy for RequestFromKernel
impl Eq for RequestFromKernel
impl StructuralPartialEq for RequestFromKernel
Auto Trait Implementations§
impl Freeze for RequestFromKernel
impl ObjSafe for RequestFromKernel
impl RefUnwindSafe for RequestFromKernel
impl Send for RequestFromKernel
impl Sync for RequestFromKernel
impl Unpin for RequestFromKernel
impl UnwindSafe for RequestFromKernel
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.