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
impl<'a> RecvMsg<'a>
[src]
impl<'a> RecvMsg<'a>
[src]pub fn cmsgs(&self) -> CmsgIterator<'_>ⓘNotable traits for CmsgIterator<'a>
impl<'a> Iterator for CmsgIterator<'a> type Item = ControlMessageOwned;
[src]
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.