pub struct RecvFlags(_);Available on non-Redox only.
Expand description
Flags for incoming messages.
Flags provide additional information about incoming messages.
Implementations
sourceimpl RecvFlags
impl RecvFlags
sourcepub const fn is_truncated(self) -> bool
pub const fn is_truncated(self) -> bool
Check if the message contains a truncated datagram.
This flag is only used for datagram-based sockets, not for stream sockets.
On Unix this corresponds to the MSG_TRUNC flag.
On Windows this corresponds to the WSAEMSGSIZE error code.
Trait Implementations
sourceimpl PartialEq<RecvFlags> for RecvFlags
impl PartialEq<RecvFlags> for RecvFlags
impl Copy for RecvFlags
impl Eq for RecvFlags
impl StructuralEq for RecvFlags
impl StructuralPartialEq for RecvFlags
Auto Trait Implementations
impl RefUnwindSafe for RecvFlags
impl Send for RecvFlags
impl Sync for RecvFlags
impl Unpin for RecvFlags
impl UnwindSafe for RecvFlags
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