pub enum CompletionSignal {
Ack,
RepeatOnly,
}Expand description
The signal that completes a tracked in-flight transmission.
An ACK-requested send finishes when the destination’s transport ACK comes back. A send that asked for no ACK but still travels through repeaters — flood hops or a source route — has no such signal; the closest thing the sender can observe is the next hop repeating the frame, so the overheard repeat itself is the completion.
Variants§
Ack
A transport ACK is expected; PendingAck::ack_trailer is meaningful.
RepeatOnly
No ACK will ever arrive; overhearing a repeat completes the send.
Trait Implementations§
Source§impl Clone for CompletionSignal
impl Clone for CompletionSignal
Source§fn clone(&self) -> CompletionSignal
fn clone(&self) -> CompletionSignal
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompletionSignal
impl Debug for CompletionSignal
Source§impl PartialEq for CompletionSignal
impl PartialEq for CompletionSignal
impl Copy for CompletionSignal
impl Eq for CompletionSignal
impl StructuralPartialEq for CompletionSignal
Auto Trait Implementations§
impl Freeze for CompletionSignal
impl RefUnwindSafe for CompletionSignal
impl Send for CompletionSignal
impl Sync for CompletionSignal
impl Unpin for CompletionSignal
impl UnwindSafe for CompletionSignal
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)