pub struct DescriptorHandle(/* private fields */);Expand description
A handle for a file descriptor.
Implementations§
Trait Implementations§
Source§impl Clone for DescriptorHandle
 
impl Clone for DescriptorHandle
Source§fn clone(&self) -> DescriptorHandle
 
fn clone(&self) -> DescriptorHandle
Returns a duplicate 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 DescriptorHandle
 
impl Debug for DescriptorHandle
Source§impl Display for DescriptorHandle
 
impl Display for DescriptorHandle
Source§impl From<DescriptorHandle> for SyscallReg
 
impl From<DescriptorHandle> for SyscallReg
Source§fn from(x: DescriptorHandle) -> SyscallReg
 
fn from(x: DescriptorHandle) -> SyscallReg
Converts to this type from the input type.
Source§impl From<DescriptorHandle> for i32
 
impl From<DescriptorHandle> for i32
Source§fn from(x: DescriptorHandle) -> i32
 
fn from(x: DescriptorHandle) -> i32
Converts to this type from the input type.
Source§impl From<DescriptorHandle> for i64
 
impl From<DescriptorHandle> for i64
Source§fn from(x: DescriptorHandle) -> i64
 
fn from(x: DescriptorHandle) -> i64
Converts to this type from the input type.
Source§impl From<DescriptorHandle> for u32
 
impl From<DescriptorHandle> for u32
Source§fn from(x: DescriptorHandle) -> u32
 
fn from(x: DescriptorHandle) -> u32
Converts to this type from the input type.
Source§impl From<DescriptorHandle> for u64
 
impl From<DescriptorHandle> for u64
Source§fn from(x: DescriptorHandle) -> u64
 
fn from(x: DescriptorHandle) -> u64
Converts to this type from the input type.
Source§impl Hash for DescriptorHandle
 
impl Hash for DescriptorHandle
Source§impl Ord for DescriptorHandle
 
impl Ord for DescriptorHandle
Source§fn cmp(&self, other: &DescriptorHandle) -> Ordering
 
fn cmp(&self, other: &DescriptorHandle) -> 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 DescriptorHandle
 
impl PartialEq for DescriptorHandle
Source§impl PartialOrd for DescriptorHandle
 
impl PartialOrd for DescriptorHandle
Source§impl TryFrom<i32> for DescriptorHandle
 
impl TryFrom<i32> for DescriptorHandle
Source§impl TryFrom<i64> for DescriptorHandle
 
impl TryFrom<i64> for DescriptorHandle
Source§impl TryFrom<u32> for DescriptorHandle
 
impl TryFrom<u32> for DescriptorHandle
Source§impl TryFrom<u64> for DescriptorHandle
 
impl TryFrom<u64> for DescriptorHandle
impl Copy for DescriptorHandle
impl Eq for DescriptorHandle
impl StructuralPartialEq for DescriptorHandle
Auto Trait Implementations§
impl Freeze for DescriptorHandle
impl RefUnwindSafe for DescriptorHandle
impl Send for DescriptorHandle
impl Sync for DescriptorHandle
impl Unpin for DescriptorHandle
impl UnwindSafe for DescriptorHandle
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§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more