# Enum std::os::unix::net::AncillaryData
[−][src]

    pub enum AncillaryData<'a> {
        ScmRights(ScmRights<'a>),
        ScmCredentials(ScmCredentials<'a>),
    }

🔬 This is a nightly-only experimental API. (`unix_socket_ancillary_data` #76915)
This is supported on Unix only.
Expand description

This enum represent one control message of variable type.

## Variants

`ScmRights(ScmRights<'a>)`
🔬 This is a nightly-only experimental API. (`unix_socket_ancillary_data` #76915)

### Tuple Fields of ScmRights

`0: ScmRights<'a>`
🔬 This is a nightly-only experimental API. (`unix_socket_ancillary_data` #76915)
`ScmCredentials(ScmCredentials<'a>)`
🔬 This is a nightly-only experimental API. (`unix_socket_ancillary_data` #76915)

### Tuple Fields of ScmCredentials

`0: ScmCredentials<'a>`
🔬 This is a nightly-only experimental API. (`unix_socket_ancillary_data` #76915)

## 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

[src]

### impl<T> Any for T where
T: 'static + ?Sized,

[src]

#### pub fn type_id(&self) -> TypeId

Gets the `TypeId` of `self`. Read more

[src]

### impl<T> Borrow<T> for T where
T: ?Sized,

[src]

#### pub fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

[src]

### impl<T> BorrowMut<T> for T where
T: ?Sized,

[src]

#### pub fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more

[src]

### impl<T> From<T> for T

[src]

#### pub fn from(t: T) -> T

Performs the conversion.

[src]

### impl<T, U> Into<U> for T where
U: From<T>,

[src]

#### pub fn into(self) -> U

Performs the conversion.

[src]

### impl<T, U> TryFrom<U> for T where
U: Into<T>,

#### type Error = Infallible

The type returned in the event of a conversion error.

[src]

#### pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

[src]

### impl<T, U> TryInto<U> for T where
U: TryFrom<T>,

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

[src]

#### pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.