pub struct Fib(/* private fields */);Expand description
The Forwarding Information Base.
Wraps a NameTrie<Arc<FibEntry>>. Lookup uses longest-prefix match, so
the most specific registered prefix wins. All methods are &self — the
trie’s per-node RwLock provides the necessary interior mutability.
Implementations§
Source§impl Fib
impl Fib
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fib
impl RefUnwindSafe for Fib
impl Send for Fib
impl Sync for Fib
impl Unpin for Fib
impl UnwindSafe for Fib
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