#[non_exhaustive]pub enum ParamClass {
Hot,
Reach,
Contract,
}Expand description
Whether a group may change under a running driver (#125, report §4.9).
The class belongs to the device, not the name: an MTU is Contract
on an SDU medium whose transport was sized against it and Hot on a
netdev whose TCP link adapts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Hot
Takes effect at once; the reply to a change is the read-back.
Reach
Decides whether the device can reach the bus at all — a frequency, an APN. Changed only as a confirmed change (#127), because the read-back would cross the link being changed.
Contract
Part of what the transport was started against. Refused at runtime with the restart named; changed in the startup configuration.
Trait Implementations§
Source§impl Clone for ParamClass
impl Clone for ParamClass
impl Copy for ParamClass
Source§impl Debug for ParamClass
impl Debug for ParamClass
impl Eq for ParamClass
Source§impl Hash for ParamClass
impl Hash for ParamClass
Source§impl PartialEq for ParamClass
impl PartialEq for ParamClass
impl StructuralPartialEq for ParamClass
Auto Trait Implementations§
impl Freeze for ParamClass
impl RefUnwindSafe for ParamClass
impl Send for ParamClass
impl Sync for ParamClass
impl Unpin for ParamClass
impl UnsafeUnpin for ParamClass
impl UnwindSafe for ParamClass
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