#[non_exhaustive]pub struct AdaptiveShaperTrigger {
pub kind: String,
pub shaping_rate: Option<SchedulerRate>,
}Expand description
A trigger <type> shaping-rate <rate> entry of an adaptive shaper.
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.kind: StringFor example becn.
shaping_rate: Option<SchedulerRate>Trait Implementations§
Source§impl Clone for AdaptiveShaperTrigger
impl Clone for AdaptiveShaperTrigger
Source§impl Debug for AdaptiveShaperTrigger
impl Debug for AdaptiveShaperTrigger
impl Eq for AdaptiveShaperTrigger
Source§impl PartialEq for AdaptiveShaperTrigger
impl PartialEq for AdaptiveShaperTrigger
impl StructuralPartialEq for AdaptiveShaperTrigger
Auto Trait Implementations§
impl Forget for AdaptiveShaperTrigger
impl Freeze for AdaptiveShaperTrigger
impl Move for AdaptiveShaperTrigger
impl RefUnwindSafe for AdaptiveShaperTrigger
impl Send for AdaptiveShaperTriggerwhere
RawVecInner: Send,
impl Sync for AdaptiveShaperTriggerwhere
RawVecInner: Sync,
impl Unpin for AdaptiveShaperTrigger
impl UnsafeUnpin for AdaptiveShaperTrigger
impl UnwindSafe for AdaptiveShaperTriggerwhere
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