pub struct RequestFromKernel { /* private fields */ }
Implementations§
Source§impl RequestFromKernel
impl RequestFromKernel
pub fn new(cmd: KernelCommand) -> Self
pub fn cmd(&self) -> KernelCommand
pub fn id(&self) -> Option<ObjID>
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