pub struct RecvmsgReturn {
    pub return_val: ssize_t,
    pub addr: Option<SockaddrStorage>,
    pub msg_flags: c_int,
    pub control_len: size_t,
}Expand description
Return values for Socket::recvmsg().
Fields§
§return_val: ssize_tThe return value for the syscall. Typically is the number of message bytes read, but is modifiable by the syscall flag.
addr: Option<SockaddrStorage>The socket address of the received message.
msg_flags: c_intMessage flags.
control_len: size_tThe number of control data bytes read.
Auto Trait Implementations§
impl Freeze for RecvmsgReturn
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more