Struct RouteEvidence
pub struct RouteEvidence {
pub hand_set: bool,
pub direct: bool,
pub last_hop: Option<TraceSignalEntry>,
pub peer_mobile: bool,
pub peer_retransmitted: bool,
}Expand description
What a sender knows about the far end of the route it is about to use.
Fields§
§hand_set: boolThe route was chosen by the application rather than learned.
direct: boolThe route reaches the destination without a repeater.
last_hop: Option<TraceSignalEntry>How the route’s last hop was measured, if it was. A point-to-point entry marks a hop with no radio in it.
peer_mobile: boolThe destination advertises itself as mobile.
peer_retransmitted: boolThe frame being acknowledged is a retransmission of one this node has already acknowledged: whatever went back the first time did not arrive, however good the link toward this node looks.
Trait Implementations§
§impl Clone for RouteEvidence
impl Clone for RouteEvidence
§fn clone(&self) -> RouteEvidence
fn clone(&self) -> RouteEvidence
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 more§impl Debug for RouteEvidence
impl Debug for RouteEvidence
§impl Default for RouteEvidence
impl Default for RouteEvidence
§fn default() -> RouteEvidence
fn default() -> RouteEvidence
Returns the “default value” for a type. Read more
§impl PartialEq for RouteEvidence
impl PartialEq for RouteEvidence
impl Copy for RouteEvidence
impl Eq for RouteEvidence
impl StructuralPartialEq for RouteEvidence
Auto Trait Implementations§
impl Freeze for RouteEvidence
impl RefUnwindSafe for RouteEvidence
impl Send for RouteEvidence
impl Sync for RouteEvidence
impl Unpin for RouteEvidence
impl UnwindSafe for RouteEvidence
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)