pub struct SendId(pub u64);Expand description
Identifies one stubborn transmission, so it can later be stopped.
The book retransmits forever and never stops, which is SL1 rather than an oversight. A caller
that knows a transmission is finished may nonetheless let go of it, so each one is named. That
is a retraction, which the property does not speak about — not a bound on the property.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for SendId
impl Eq for SendId
Source§impl Ord for SendId
impl Ord for SendId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for SendId
impl PartialOrd for SendId
impl StructuralPartialEq for SendId
Auto Trait Implementations§
impl Freeze for SendId
impl RefUnwindSafe for SendId
impl Send for SendId
impl Sync for SendId
impl Unpin for SendId
impl UnsafeUnpin for SendId
impl UnwindSafe for SendId
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