#[non_exhaustive]pub enum ControlClass {
IAm,
InitAck,
InitMgmt,
Busy,
Available,
Reject,
ICouldBe,
}Expand description
Protected control class, bacnet-router-core’s. One counter row each.
The protected classes of network message, one per kind of change a
message can make to the routing table.
It is #[non_exhaustive], so a new class isn’t a breaking change: a
match needs a wildcard arm.
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.
IAm
I-Am-Router learning.
InitAck
Initialize-Routing-Table-Ack learning.
InitMgmt
Initialize-Routing-Table updates and removals (not queries).
Busy
Router-Busy marks.
Available
Router-Available marks.
Reject
Changes a received reject makes.
ICouldBe
Routes stored from I-Could-Be-Router.
Trait Implementations§
Source§impl Clone for ControlClass
impl Clone for ControlClass
Source§fn clone(&self) -> ControlClass
fn clone(&self) -> ControlClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlClass
Source§impl Debug for ControlClass
impl Debug for ControlClass
impl Eq for ControlClass
Source§impl Hash for ControlClass
impl Hash for ControlClass
Source§impl PartialEq for ControlClass
impl PartialEq for ControlClass
impl StructuralPartialEq for ControlClass
Auto Trait Implementations§
impl Freeze for ControlClass
impl RefUnwindSafe for ControlClass
impl Send for ControlClass
impl Sync for ControlClass
impl Unpin for ControlClass
impl UnsafeUnpin for ControlClass
impl UnwindSafe for ControlClass
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