pub struct RecvMsg<'a, S> {
pub bytes: usize,
pub address: Option<S>,
pub flags: MsgFlags,
/* private fields */
}Fields
bytes: usizeaddress: Option<S>flags: MsgFlagsImplementations
sourceimpl<'a, S> RecvMsg<'a, S>
impl<'a, S> RecvMsg<'a, S>
sourcepub 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;
Iterate over the valid control messages pointed to by this msghdr.
Trait Implementations
impl<'a, S: Copy> Copy for RecvMsg<'a, S>
impl<'a, S: Eq> Eq for RecvMsg<'a, S>
impl<'a, S> StructuralEq for RecvMsg<'a, S>
impl<'a, S> StructuralPartialEq for RecvMsg<'a, S>
Auto Trait Implementations
impl<'a, S> RefUnwindSafe for RecvMsg<'a, S> where
S: RefUnwindSafe,
impl<'a, S> !Send for RecvMsg<'a, S>
impl<'a, S> !Sync for RecvMsg<'a, S>
impl<'a, S> Unpin for RecvMsg<'a, S> where
S: Unpin,
impl<'a, S> UnwindSafe for RecvMsg<'a, S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more