Enum rustix::net::RecvAncillaryMessage
source · #[non_exhaustive]pub enum RecvAncillaryMessage<'a> {
ScmRights(AncillaryIter<'a, OwnedFd>),
ScmCredentials(UCred),
}
Expand description
Ancillary message for recvmsg
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ScmRights(AncillaryIter<'a, OwnedFd>)
Received file descriptors.
ScmCredentials(UCred)
Received process credentials.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RecvAncillaryMessage<'a>
impl<'a> Send for RecvAncillaryMessage<'a>
impl<'a> Sync for RecvAncillaryMessage<'a>
impl<'a> Unpin for RecvAncillaryMessage<'a>
impl<'a> !UnwindSafe for RecvAncillaryMessage<'a>
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