#[non_exhaustive]pub struct RibGroup {
pub name: String,
pub import_rib: Vec<String>,
pub export_rib: Option<String>,
pub import_policy: Vec<String>,
}Expand description
A routing-table group, which copies routes from one table into others.
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: String§import_rib: Vec<String>The tables that receive the routes; the first is the primary table.
export_rib: Option<String>The table the routes come from, when it is not the primary import table.
import_policy: Vec<String>Trait Implementations§
impl Eq for RibGroup
impl StructuralPartialEq for RibGroup
Auto Trait Implementations§
impl Forget for RibGroup
impl Freeze for RibGroup
impl Move for RibGroup
impl RefUnwindSafe for RibGroup
impl Send for RibGroupwhere
RawVecInner: Send,
impl Sync for RibGroupwhere
RawVecInner: Sync,
impl Unpin for RibGroup
impl UnsafeUnpin for RibGroupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for RibGroupwhere
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