pub struct RecvResult<A> {
pub bytes_read: usize,
pub remote_addr: A,
pub timestamp: Option<Timestamp>,
}
Fields§
§bytes_read: usize
§remote_addr: A
§timestamp: Option<Timestamp>
Trait Implementations§
Source§impl<A: Clone> Clone for RecvResult<A>
impl<A: Clone> Clone for RecvResult<A>
Source§fn clone(&self) -> RecvResult<A>
fn clone(&self) -> RecvResult<A>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<A: Debug> Debug for RecvResult<A>
impl<A: Debug> Debug 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: Copy> Copy for RecvResult<A>
impl<A: Eq> Eq for RecvResult<A>
impl<A> StructuralPartialEq for RecvResult<A>
Auto Trait Implementations§
impl<A> Freeze for RecvResult<A>where
A: Freeze,
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> 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