pub struct OwnedFd { /* private fields */ }
Expand description
Trait Implementations§
source§impl Basic for OwnedFd
impl Basic for OwnedFd
source§const SIGNATURE_CHAR: char = 'h'
const SIGNATURE_CHAR: char = 'h'
The type signature, as a character.
source§const SIGNATURE_STR: &'static str = _
const SIGNATURE_STR: &'static str = _
The type signature, as a string.
source§fn alignment(format: EncodingFormat) -> usize
fn alignment(format: EncodingFormat) -> usize
The required padding alignment for the given format.
source§impl<'de> Deserialize<'de> for OwnedFd
impl<'de> Deserialize<'de> for OwnedFd
source§fn 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
source§impl FromRawFd for OwnedFd
impl FromRawFd for OwnedFd
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 IntoRawFd for OwnedFd
impl IntoRawFd for OwnedFd
source§fn into_raw_fd(self) -> RawFd
fn into_raw_fd(self) -> RawFd
Consumes this object, returning the raw underlying file descriptor. Read more