Struct nix::sys::socket::RecvMsg [−][src]
pub struct RecvMsg<'a> { pub bytes: usize, pub address: Option<SockAddr>, pub flags: MsgFlags, // some fields omitted }
Fields
bytes: usize
address: Option<SockAddr>
flags: MsgFlags
Implementations
pub fn cmsgs(&self) -> CmsgIterator<'_>ⓘNotable traits for CmsgIterator<'a>impl<'a> Iterator for CmsgIterator<'a> type Item = ControlMessageOwned;
pub fn cmsgs(&self) -> CmsgIterator<'_>ⓘNotable traits for CmsgIterator<'a>impl<'a> Iterator for CmsgIterator<'a> type Item = ControlMessageOwned;
Notable traits for CmsgIterator<'a>
impl<'a> Iterator for CmsgIterator<'a> type Item = ControlMessageOwned;
Iterate over the valid control messages pointed to by this msghdr.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for RecvMsg<'a>
impl<'a> UnwindSafe for RecvMsg<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more