pub enum NackReason {
NoRoute,
Duplicate,
Congestion,
NotYet,
Other(u64),
}Expand description
Reason codes carried in a Nack packet.
Variants§
NoRoute
The forwarder has no route for this Interest.
Duplicate
The Interest is a duplicate (loop detected).
Congestion
The forwarder is congested.
NotYet
The data does not yet exist; consumer may retry after a hint.
Other(u64)
Unknown/vendor-specific reason code.
Implementations§
Trait Implementations§
Source§impl Clone for NackReason
impl Clone for NackReason
Source§fn clone(&self) -> NackReason
fn clone(&self) -> NackReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NackReason
impl Debug for NackReason
Source§impl Hash for NackReason
impl Hash for NackReason
Source§impl PartialEq for NackReason
impl PartialEq for NackReason
impl Copy for NackReason
impl Eq for NackReason
impl StructuralPartialEq for NackReason
Auto Trait Implementations§
impl Freeze for NackReason
impl RefUnwindSafe for NackReason
impl Send for NackReason
impl Sync for NackReason
impl Unpin for NackReason
impl UnwindSafe for NackReason
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