pub enum AncillaryItem {
Fds(Vec<OwnedFd>),
Credentials(ReceivedCredentials),
Unsupported,
}Expand description
One ancillary message produced by Ancillary
Variants§
Fds(Vec<OwnedFd>)
One or more file descriptors sent by the peer.
Consumer of the iterator is responsible for closing them.
Credentials(ReceivedCredentials)
Credentials of the sending process.
Unsupported
An unknown or unsupported ancillary message type was received.
It’s up to you whether to ignore or treat as an error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AncillaryItem
impl RefUnwindSafe for AncillaryItem
impl Send for AncillaryItem
impl Sync for AncillaryItem
impl Unpin for AncillaryItem
impl UnsafeUnpin for AncillaryItem
impl UnwindSafe for AncillaryItem
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