pub struct SendInfo {
pub from: SocketAddr,
pub to: SocketAddr,
pub at: Instant,
}Expand description
Ancillary information about outgoing packets.
Fields§
§from: SocketAddrThe local address the packet should be sent from.
to: SocketAddrThe remote address the packet should be sent to.
at: InstantThe time to send the packet out.
See Pacing for more details.
Trait Implementations§
source§impl PartialEq for SendInfo
impl PartialEq for SendInfo
impl Copy for SendInfo
impl Eq for SendInfo
impl StructuralPartialEq for SendInfo
Auto Trait Implementations§
impl Freeze for SendInfo
impl RefUnwindSafe for SendInfo
impl Send for SendInfo
impl Sync for SendInfo
impl Unpin for SendInfo
impl UnwindSafe for SendInfo
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.