pub struct UnmanagedFD(/* private fields */);
Expand description
Represents a RawFd
but does not provide any ownership of it.
Implementations§
Trait Implementations§
Source§impl AsRawFd for UnmanagedFD
impl AsRawFd for UnmanagedFD
Source§impl Clone for UnmanagedFD
impl Clone for UnmanagedFD
Source§fn clone(&self) -> UnmanagedFD
fn clone(&self) -> UnmanagedFD
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 UnmanagedFD
impl Debug for UnmanagedFD
Source§impl From<UnmanagedFD> for ManagedFD
impl From<UnmanagedFD> for ManagedFD
Source§fn from(from: UnmanagedFD) -> Self
fn from(from: UnmanagedFD) -> Self
Converts to this type from the input type.
Source§impl From<UnmanagedFD> for RawFd
impl From<UnmanagedFD> for RawFd
Source§fn from(from: UnmanagedFD) -> Self
fn from(from: UnmanagedFD) -> Self
Converts to this type from the input type.
Source§impl From<i32> for UnmanagedFD
impl From<i32> for UnmanagedFD
Source§impl FromRawFd for UnmanagedFD
impl FromRawFd for UnmanagedFD
Source§unsafe fn from_raw_fd(fd: RawFd) -> Self
unsafe fn from_raw_fd(fd: RawFd) -> Self
Constructs a new instance of
Self
from the given raw file
descriptor. Read moreSource§impl Hash for UnmanagedFD
impl Hash for UnmanagedFD
Source§impl Ord for UnmanagedFD
impl Ord for UnmanagedFD
Source§fn cmp(&self, other: &UnmanagedFD) -> Ordering
fn cmp(&self, other: &UnmanagedFD) -> 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 UnmanagedFD
impl PartialEq for UnmanagedFD
Source§impl PartialOrd for UnmanagedFD
impl PartialOrd for UnmanagedFD
impl Eq for UnmanagedFD
impl StructuralPartialEq for UnmanagedFD
Auto Trait Implementations§
impl Freeze for UnmanagedFD
impl RefUnwindSafe for UnmanagedFD
impl Send for UnmanagedFD
impl Sync for UnmanagedFD
impl Unpin for UnmanagedFD
impl UnwindSafe for UnmanagedFD
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