pub struct NetworkPriority(/* private fields */);Expand description
NPDU network priority levels (Clause 6.2.2).
Implementations§
Source§impl NetworkPriority
impl NetworkPriority
Sourcepub const CRITICAL_EQUIPMENT: Self
pub const CRITICAL_EQUIPMENT: Self
Wire value 2.
Sourcepub const LIFE_SAFETY: Self
pub const LIFE_SAFETY: Self
Wire value 3.
Trait Implementations§
Source§impl Clone for NetworkPriority
impl Clone for NetworkPriority
impl Copy for NetworkPriority
Source§impl Debug for NetworkPriority
impl Debug for NetworkPriority
Source§impl Display for NetworkPriority
impl Display for NetworkPriority
impl Eq for NetworkPriority
Source§impl FromStr for NetworkPriority
impl FromStr for NetworkPriority
Source§fn from_str(s: &str) -> Result<Self, Self::Err>
fn from_str(s: &str) -> Result<Self, Self::Err>
Parse a symbolic constant name, ignoring _/- separators and
ASCII case, so every common spelling of a name is accepted
(ANALOG_INPUT, analog-input, AnalogInput, analogInput, …).
Raw numeric values are not accepted; use
from_raw for those.
Source§type Err = ParseEnumError
type Err = ParseEnumError
The associated error which can be returned from parsing.
Source§impl Hash for NetworkPriority
impl Hash for NetworkPriority
Source§impl PartialEq for NetworkPriority
impl PartialEq for NetworkPriority
impl StructuralPartialEq for NetworkPriority
Auto Trait Implementations§
impl Freeze for NetworkPriority
impl RefUnwindSafe for NetworkPriority
impl Send for NetworkPriority
impl Sync for NetworkPriority
impl Unpin for NetworkPriority
impl UnsafeUnpin for NetworkPriority
impl UnwindSafe for NetworkPriority
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