pub struct ProtocolLevel(/* private fields */);Expand description
Protocol level of a NetworkPort (Clause 12.56).
Implementations§
Source§impl ProtocolLevel
impl ProtocolLevel
Sourcepub const BACNET_APPLICATION: Self
pub const BACNET_APPLICATION: Self
Wire value 2.
Sourcepub const NON_BACNET_APPLICATION: Self
pub const NON_BACNET_APPLICATION: Self
Wire value 3.
Trait Implementations§
Source§impl Clone for ProtocolLevel
impl Clone for ProtocolLevel
impl Copy for ProtocolLevel
Source§impl Debug for ProtocolLevel
impl Debug for ProtocolLevel
Source§impl Display for ProtocolLevel
impl Display for ProtocolLevel
impl Eq for ProtocolLevel
Source§impl FromStr for ProtocolLevel
impl FromStr for ProtocolLevel
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 ProtocolLevel
impl Hash for ProtocolLevel
Source§impl PartialEq for ProtocolLevel
impl PartialEq for ProtocolLevel
impl StructuralPartialEq for ProtocolLevel
Auto Trait Implementations§
impl Freeze for ProtocolLevel
impl RefUnwindSafe for ProtocolLevel
impl Send for ProtocolLevel
impl Sync for ProtocolLevel
impl Unpin for ProtocolLevel
impl UnsafeUnpin for ProtocolLevel
impl UnwindSafe for ProtocolLevel
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