pub struct Descriptors { /* private fields */ }Available on Unix and crate feature
local only.Expand description
Descriptors received with UnixConnection::recv_descriptors: up to 64,
owned, close-on-exec. Descriptors not taken are closed when this is dropped
or reused.
let fds = net_io::Descriptors::new();
assert!(fds.is_empty());Implementations§
Source§impl Descriptors
impl Descriptors
Trait Implementations§
Source§impl Debug for Descriptors
impl Debug for Descriptors
Source§impl Default for Descriptors
impl Default for Descriptors
Source§fn default() -> Descriptors
fn default() -> Descriptors
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Descriptors
impl RefUnwindSafe for Descriptors
impl Send for Descriptors
impl Sync for Descriptors
impl Unpin for Descriptors
impl UnsafeUnpin for Descriptors
impl UnwindSafe for Descriptors
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