#[non_exhaustive]pub struct PolicerOverhead {
pub egress: Option<String>,
pub ingress: Option<String>,
}Expand description
The policer-overhead of a unit, in bytes.
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.egress: Option<String>§ingress: Option<String>Trait Implementations§
Source§impl Clone for PolicerOverhead
impl Clone for PolicerOverhead
Source§impl Debug for PolicerOverhead
impl Debug for PolicerOverhead
impl Eq for PolicerOverhead
Source§impl PartialEq for PolicerOverhead
impl PartialEq for PolicerOverhead
impl StructuralPartialEq for PolicerOverhead
Auto Trait Implementations§
impl Forget for PolicerOverhead
impl Freeze for PolicerOverhead
impl Move for PolicerOverhead
impl RefUnwindSafe for PolicerOverhead
impl Send for PolicerOverheadwhere
RawVecInner: Send,
impl Sync for PolicerOverheadwhere
RawVecInner: Sync,
impl Unpin for PolicerOverhead
impl UnsafeUnpin for PolicerOverhead
impl UnwindSafe for PolicerOverheadwhere
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