pub enum ProcFDType {
ATalk = 0,
VNode = 1,
Socket = 2,
PSHM = 3,
PSEM = 4,
KQueue = 5,
Pipe = 6,
FSEvents = 7,
NetPolicy = 9,
Unknown = 10,
}
Expand description
Enum for different FileDescriptor
types
Variants§
ATalk = 0
AppleTalk
VNode = 1
Vnode
Socket = 2
Socket
PSHM = 3
POSIX shared memory
PSEM = 4
POSIX semaphore
KQueue = 5
Kqueue
Pipe = 6
Pipe
FSEvents = 7
FSEvents
NetPolicy = 9
NetPolicy
Unknown = 10
Unknown
Trait Implementations§
Source§impl Clone for ProcFDType
impl Clone for ProcFDType
Source§fn clone(&self) -> ProcFDType
fn clone(&self) -> ProcFDType
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 ProcFDType
impl Debug for ProcFDType
Source§impl From<u32> for ProcFDType
impl From<u32> for ProcFDType
Source§fn from(value: u32) -> ProcFDType
fn from(value: u32) -> ProcFDType
Converts to this type from the input type.
impl Copy for ProcFDType
Auto Trait Implementations§
impl Freeze for ProcFDType
impl RefUnwindSafe for ProcFDType
impl Send for ProcFDType
impl Sync for ProcFDType
impl Unpin for ProcFDType
impl UnwindSafe for ProcFDType
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