#[repr(u32)]pub enum KernelObjectType {
File = 1,
Pipe = 2,
CharDevice = 3,
BlockDevice = 4,
Socket = 5,
Unknown = 0,
}
Expand description
Types of KernelObject that can be distinguished by user space
Variants§
File = 1
Regular file object
Pipe = 2
Pipe object for IPC
CharDevice = 3
Character device (future)
BlockDevice = 4
Block device (future)
Socket = 5
Socket (future)
Unknown = 0
Unknown or unsupported type
Trait Implementations§
Source§impl Clone for KernelObjectType
impl Clone for KernelObjectType
Source§fn clone(&self) -> KernelObjectType
fn clone(&self) -> KernelObjectType
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KernelObjectType
impl Debug for KernelObjectType
Source§impl PartialEq for KernelObjectType
impl PartialEq for KernelObjectType
impl Copy for KernelObjectType
impl Eq for KernelObjectType
impl StructuralPartialEq for KernelObjectType
Auto Trait Implementations§
impl Freeze for KernelObjectType
impl RefUnwindSafe for KernelObjectType
impl Send for KernelObjectType
impl Sync for KernelObjectType
impl Unpin for KernelObjectType
impl UnwindSafe for KernelObjectType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.