#[non_exhaustive]pub struct ForwardingPolicy {
pub next_hop_maps: Vec<NextHopMap>,
pub classes: Vec<ForwardingPolicyClass>,
}Expand description
The forwarding-policy block.
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.next_hop_maps: Vec<NextHopMap>§classes: Vec<ForwardingPolicyClass>Trait Implementations§
Source§impl Clone for ForwardingPolicy
impl Clone for ForwardingPolicy
Source§impl Debug for ForwardingPolicy
impl Debug for ForwardingPolicy
Source§impl Default for ForwardingPolicy
impl Default for ForwardingPolicy
impl Eq for ForwardingPolicy
Source§impl PartialEq for ForwardingPolicy
impl PartialEq for ForwardingPolicy
impl StructuralPartialEq for ForwardingPolicy
Auto Trait Implementations§
impl Forget for ForwardingPolicy
impl Freeze for ForwardingPolicywhere
*const u8 is !null: Freeze,
PhantomData<NextHopMap>: Freeze,
PhantomData<ForwardingPolicyClass>: Freeze,
impl Move for ForwardingPolicy
impl RefUnwindSafe for ForwardingPolicy
impl Send for ForwardingPolicywhere
RawVecInner: Send,
impl Sync for ForwardingPolicywhere
RawVecInner: Sync,
impl Unpin for ForwardingPolicy
impl UnsafeUnpin for ForwardingPolicywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<NextHopMap>: UnsafeUnpin,
PhantomData<ForwardingPolicyClass>: UnsafeUnpin,
impl UnwindSafe for ForwardingPolicywhere
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