pub struct OwnedFd { /* private fields */ }
Expand description
Trait Implementations
sourceimpl Basic for OwnedFd
impl Basic for OwnedFd
sourceconst SIGNATURE_CHAR: char = 'h'
const SIGNATURE_CHAR: char = 'h'
The type signature, as a character.
sourceconst SIGNATURE_STR: &'static str = "h"
const SIGNATURE_STR: &'static str = "h"
The type signature, as a string.
sourcefn alignment(format: EncodingFormat) -> usize
fn alignment(format: EncodingFormat) -> usize
The required padding alignment for the given format.
sourceimpl<'de> Deserialize<'de> for OwnedFd
impl<'de> Deserialize<'de> for OwnedFd
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromRawFd for OwnedFd
impl FromRawFd for OwnedFd
sourceunsafe 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 more
sourceimpl IntoRawFd for OwnedFd
impl IntoRawFd for OwnedFd
sourcefn into_raw_fd(self) -> RawFd
fn into_raw_fd(self) -> RawFd
Consumes this object, returning the raw underlying file descriptor. Read more
impl Eq for OwnedFd
impl StructuralEq for OwnedFd
impl StructuralPartialEq for OwnedFd
Auto Trait Implementations
impl RefUnwindSafe for OwnedFd
impl Send for OwnedFd
impl Sync for OwnedFd
impl Unpin for OwnedFd
impl UnwindSafe for OwnedFd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more