pub enum Receipt {
Retained,
Duplicate,
}Expand description
Successful admission, and permission to ACK this packet’s individual sequence.
Both variants are successful receipts. Errors from EventReceiver::admit
must not be ACKed. Duplicate sequences never replace the first retained bytes.
See that method’s runnable loss/retry/ACK recipe.
Variants§
Retained
A new payload was copied into bounded receiver storage.
Duplicate
The sequence was already retained or delivered; no bytes were changed.
Trait Implementations§
impl Copy for Receipt
impl Eq for Receipt
impl StructuralPartialEq for Receipt
Auto Trait Implementations§
impl Freeze for Receipt
impl RefUnwindSafe for Receipt
impl Send for Receipt
impl Sync for Receipt
impl Unpin for Receipt
impl UnwindSafe for Receipt
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