#[non_exhaustive]pub struct QosPolicy {
pub bandwidth_gbps: f64,
/* private fields */
}Expand description
QOS policy parameters.
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.bandwidth_gbps: f64The bandwidth permitted by the QOS policy, in gbps.
Implementations§
Trait Implementations§
impl StructuralPartialEq for QosPolicy
Auto Trait Implementations§
impl Freeze for QosPolicy
impl RefUnwindSafe for QosPolicy
impl Send for QosPolicy
impl Sync for QosPolicy
impl Unpin for QosPolicy
impl UnwindSafe for QosPolicy
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