pub struct NetworkType(/* private fields */);Expand description
BACnet data link/network type (Clause 12.56 (Network_Type)).
Implementations§
Source§impl NetworkType
impl NetworkType
Sourcepub const NON_BACNET: Self
pub const NON_BACNET: Self
Removed in version 1, revision 18 (Clause 21 production comment).
Wire value 8.
Trait Implementations§
Source§impl Clone for NetworkType
impl Clone for NetworkType
impl Copy for NetworkType
Source§impl Debug for NetworkType
impl Debug for NetworkType
Source§impl Display for NetworkType
impl Display for NetworkType
impl Eq for NetworkType
Source§impl FromStr for NetworkType
impl FromStr for NetworkType
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 NetworkType
impl Hash for NetworkType
Source§impl PartialEq for NetworkType
impl PartialEq for NetworkType
impl StructuralPartialEq for NetworkType
Auto Trait Implementations§
impl Freeze for NetworkType
impl RefUnwindSafe for NetworkType
impl Send for NetworkType
impl Sync for NetworkType
impl Unpin for NetworkType
impl UnsafeUnpin for NetworkType
impl UnwindSafe for NetworkType
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