pub struct FibNexthop {
pub face_id: FaceId,
pub cost: u32,
}Expand description
A single FIB nexthop: a face with an associated routing cost.
Fields§
§face_id: FaceId§cost: u32Trait Implementations§
Source§impl Clone for FibNexthop
impl Clone for FibNexthop
Source§fn clone(&self) -> FibNexthop
fn clone(&self) -> FibNexthop
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 moreAuto Trait Implementations§
impl Freeze for FibNexthop
impl RefUnwindSafe for FibNexthop
impl Send for FibNexthop
impl Sync for FibNexthop
impl Unpin for FibNexthop
impl UnwindSafe for FibNexthop
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