pub struct SocketRecvFlags {
pub peek: bool,
}Expand description
Portable input flags for socket receive operations.
Fields§
§peek: boolCopy queued bytes without consuming them (MSG_PEEK). Concurrent readers may consume them before a later receive; peeking reserves nothing.
Trait Implementations§
Source§impl Clone for SocketRecvFlags
impl Clone for SocketRecvFlags
impl Copy for SocketRecvFlags
Source§impl Debug for SocketRecvFlags
impl Debug for SocketRecvFlags
Source§impl Default for SocketRecvFlags
impl Default for SocketRecvFlags
impl Eq for SocketRecvFlags
Source§impl PartialEq for SocketRecvFlags
impl PartialEq for SocketRecvFlags
impl StructuralPartialEq for SocketRecvFlags
Auto Trait Implementations§
impl Freeze for SocketRecvFlags
impl RefUnwindSafe for SocketRecvFlags
impl Send for SocketRecvFlags
impl Sync for SocketRecvFlags
impl Unpin for SocketRecvFlags
impl UnsafeUnpin for SocketRecvFlags
impl UnwindSafe for SocketRecvFlags
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