Enum std::os::unix::net::AncillaryData
pub enum AncillaryData<'a> { ScmRights(ScmRights<'a>), ScmCredentials(ScmCredentials<'a>), }
This is supported on Unix only.
This enum represent one control message of variable type.
Variants
ScmRights(ScmRights<'a>)
Tuple Fields of ScmRights
ScmCredentials(ScmCredentials<'a>)
Tuple Fields of ScmCredentials
0: ScmCredentials<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AncillaryData<'a>
impl<'a> Send for AncillaryData<'a>
impl<'a> Sync for AncillaryData<'a>
impl<'a> Unpin for AncillaryData<'a>
impl<'a> UnwindSafe for AncillaryData<'a>
Blanket Implementations
impl<T> From<T> for T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
Performs the conversion.
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
Performs the conversion.
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
Performs the conversion.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/unix/net/enum.AncillaryData.html