#[non_exhaustive]pub struct Rib {
pub name: String,
pub static_routes: Option<StaticRoutes>,
pub aggregate: Option<AggregateRoutes>,
pub generate: Option<GenerateRoutes>,
pub martians: Vec<Martian>,
pub policy_multipath: bool,
}Expand description
A rib <table>: the routes and martians that belong to one routing table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe table name, e.g. "inet6.0" or "VRF.inet.0".
static_routes: Option<StaticRoutes>§aggregate: Option<AggregateRoutes>§generate: Option<GenerateRoutes>§martians: Vec<Martian>§policy_multipath: boolTrait Implementations§
impl Eq for Rib
impl StructuralPartialEq for Rib
Auto Trait Implementations§
impl Forget for Rib
impl Freeze for Ribwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<StaticRoute>: Freeze,
PhantomData<AggregateRoute>: Freeze,
PhantomData<GenerateRoute>: Freeze,
PhantomData<Martian>: Freeze,
impl Move for Rib
impl RefUnwindSafe for Rib
impl Send for Ribwhere
RawVecInner: Send,
impl Sync for Ribwhere
RawVecInner: Sync,
impl Unpin for Rib
impl UnsafeUnpin for Ribwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<StaticRoute>: UnsafeUnpin,
PhantomData<AggregateRoute>: UnsafeUnpin,
PhantomData<GenerateRoute>: UnsafeUnpin,
PhantomData<Martian>: UnsafeUnpin,
impl UnwindSafe for Ribwhere
RawVecInner: UnwindSafe,
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