pub struct RouteCandidate {
pub route: CachedRoute,
pub score: Option<i16>,
pub last_hop: Option<TraceSignalEntry>,
}Expand description
A learned path waiting beside a held route; see RouteHold::candidate.
Fields§
§route: CachedRouteThe path.
score: Option<i16>How it scored on what the frame that taught it measured.
last_hop: Option<TraceSignalEntry>How its last hop was measured, if it was.
Trait Implementations§
Source§impl Clone for RouteCandidate
impl Clone for RouteCandidate
Source§fn clone(&self) -> RouteCandidate
fn clone(&self) -> RouteCandidate
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 RouteCandidate
impl Debug for RouteCandidate
Source§impl PartialEq for RouteCandidate
impl PartialEq for RouteCandidate
impl Eq for RouteCandidate
impl StructuralPartialEq for RouteCandidate
Auto Trait Implementations§
impl Freeze for RouteCandidate
impl RefUnwindSafe for RouteCandidate
impl Send for RouteCandidate
impl Sync for RouteCandidate
impl Unpin for RouteCandidate
impl UnwindSafe for RouteCandidate
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)