pub struct StrategyTable<S: Send + Sync + 'static + ?Sized>(/* private fields */);Expand description
Maps name prefixes to strategy instances via longest-prefix match.
This is a second NameTrie that runs in parallel with the FIB. It maps
name prefixes to strategy objects of type S (typically dyn Strategy
from ndn-strategy). Keeping the type parameter generic avoids a
dependency on ndn-strategy from ndn-store.
Implementations§
Source§impl<S: Send + Sync + 'static + ?Sized> StrategyTable<S>
impl<S: Send + Sync + 'static + ?Sized> StrategyTable<S>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for StrategyTable<S>where
S: ?Sized,
impl<S> RefUnwindSafe for StrategyTable<S>where
S: ?Sized,
impl<S> Send for StrategyTable<S>where
S: ?Sized,
impl<S> Sync for StrategyTable<S>where
S: ?Sized,
impl<S> Unpin for StrategyTable<S>where
S: ?Sized,
impl<S> UnwindSafe for StrategyTable<S>where
S: ?Sized,
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