#[repr(u64)]pub enum KernelConsoleReadSource {
Console = 0,
Buffer = 1,
}
Expand description
Possible sources for a kernel console read syscall.
Variants§
Trait Implementations§
source§impl From<KernelConsoleReadSource> for u64
impl From<KernelConsoleReadSource> for u64
source§fn from(x: KernelConsoleReadSource) -> Self
fn from(x: KernelConsoleReadSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KernelConsoleReadSource
impl ObjSafe for KernelConsoleReadSource
impl RefUnwindSafe for KernelConsoleReadSource
impl Send for KernelConsoleReadSource
impl Sync for KernelConsoleReadSource
impl Unpin for KernelConsoleReadSource
impl UnwindSafe for KernelConsoleReadSource
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