pub struct EnableDisable(/* private fields */);Expand description
BACnet enable/disable (Clause 16.1).
Implementations§
Source§impl EnableDisable
impl EnableDisable
Sourcepub const DISABLE: Self
pub const DISABLE: Self
Deprecated in revision 20; use DISABLE_INITIATION instead.
Wire value 1.
Sourcepub const DISABLE_INITIATION: Self
pub const DISABLE_INITIATION: Self
Wire value 2.
Trait Implementations§
Source§impl Clone for EnableDisable
impl Clone for EnableDisable
impl Copy for EnableDisable
Source§impl Debug for EnableDisable
impl Debug for EnableDisable
Source§impl Display for EnableDisable
impl Display for EnableDisable
impl Eq for EnableDisable
Source§impl FromStr for EnableDisable
impl FromStr for EnableDisable
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 EnableDisable
impl Hash for EnableDisable
Source§impl PartialEq for EnableDisable
impl PartialEq for EnableDisable
impl StructuralPartialEq for EnableDisable
Auto Trait Implementations§
impl Freeze for EnableDisable
impl RefUnwindSafe for EnableDisable
impl Send for EnableDisable
impl Sync for EnableDisable
impl Unpin for EnableDisable
impl UnsafeUnpin for EnableDisable
impl UnwindSafe for EnableDisable
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