Struct rustix::net::RecvMsgReturn
source · pub struct RecvMsgReturn {
pub bytes: usize,
pub flags: RecvFlags,
pub address: Option<SocketAddrAny>,
}
Expand description
The result of a successful recvmsg
call.
Fields§
§bytes: usize
The number of bytes received.
flags: RecvFlags
The flags received.
address: Option<SocketAddrAny>
The address of the socket we received from, if any.
Auto Trait Implementations§
impl RefUnwindSafe for RecvMsgReturn
impl Send for RecvMsgReturn
impl Sync for RecvMsgReturn
impl Unpin for RecvMsgReturn
impl UnwindSafe for RecvMsgReturn
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