pub struct RecvResult<A> {
pub bytes_read: usize,
pub remote_addr: A,
pub local_addr: A,
pub timestamp_data: TimestampData,
}Expand description
Results from a receive operation.
Fields§
§bytes_read: usizeNumber of bytes written to the provided buffer.
remote_addr: AAddress of the sender of the message.
local_addr: AAddress at which the message was received.
timestamp_data: TimestampDataTimestamps for the message.
Trait Implementations§
Source§impl<A: Clone> Clone for RecvResult<A>
impl<A: Clone> Clone for RecvResult<A>
impl<A: Copy> Copy for RecvResult<A>
Source§impl<A: Debug> Debug for RecvResult<A>
impl<A: Debug> Debug for RecvResult<A>
impl<A: Eq> Eq for RecvResult<A>
Source§impl<A: Hash> Hash for RecvResult<A>
impl<A: Hash> Hash for RecvResult<A>
Source§impl<A: PartialEq> PartialEq for RecvResult<A>
impl<A: PartialEq> PartialEq for RecvResult<A>
impl<A: PartialEq> StructuralPartialEq for RecvResult<A>
Auto Trait Implementations§
impl<A> Forget for RecvResult<A>
impl<A> Freeze for RecvResult<A>where
A: Freeze,
impl<A> Move for RecvResult<A>
impl<A> RefUnwindSafe for RecvResult<A>where
A: RefUnwindSafe,
impl<A> Send for RecvResult<A>where
A: Send,
impl<A> Sync for RecvResult<A>where
A: Sync,
impl<A> Unpin for RecvResult<A>where
A: Unpin,
impl<A> UnsafeUnpin for RecvResult<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for RecvResult<A>where
A: UnwindSafe,
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