pub struct ServiceSupported(/* private fields */);Expand description
Bit positions within a BACnetServicesSupported bit string (Clause 21).
Implementations§
Source§impl ServiceSupported
impl ServiceSupported
pub const ACKNOWLEDGE_ALARM: Self
pub const CONFIRMED_COV_NOTIFICATION: Self
pub const CONFIRMED_EVENT_NOTIFICATION: Self
pub const GET_ALARM_SUMMARY: Self
pub const GET_ENROLLMENT_SUMMARY: Self
pub const SUBSCRIBE_COV: Self
pub const ATOMIC_READ_FILE: Self
pub const ATOMIC_WRITE_FILE: Self
pub const ADD_LIST_ELEMENT: Self
pub const REMOVE_LIST_ELEMENT: Self
pub const CREATE_OBJECT: Self
pub const DELETE_OBJECT: Self
pub const READ_PROPERTY: Self
pub const READ_PROPERTY_MULTIPLE: Self
pub const WRITE_PROPERTY: Self
pub const WRITE_PROPERTY_MULTIPLE: Self
pub const DEVICE_COMMUNICATION_CONTROL: Self
pub const CONFIRMED_PRIVATE_TRANSFER: Self
pub const CONFIRMED_TEXT_MESSAGE: Self
pub const REINITIALIZE_DEVICE: Self
pub const VT_OPEN: Self
pub const VT_CLOSE: Self
pub const VT_DATA: Self
pub const I_AM: Self
pub const I_HAVE: Self
pub const UNCONFIRMED_COV_NOTIFICATION: Self
pub const UNCONFIRMED_EVENT_NOTIFICATION: Self
pub const UNCONFIRMED_PRIVATE_TRANSFER: Self
pub const UNCONFIRMED_TEXT_MESSAGE: Self
pub const TIME_SYNCHRONIZATION: Self
pub const WHO_HAS: Self
pub const WHO_IS: Self
pub const READ_RANGE: Self
pub const UTC_TIME_SYNCHRONIZATION: Self
pub const LIFE_SAFETY_OPERATION: Self
pub const SUBSCRIBE_COV_PROPERTY: Self
pub const GET_EVENT_INFORMATION: Self
pub const WRITE_GROUP: Self
pub const SUBSCRIBE_COV_PROPERTY_MULTIPLE: Self
pub const CONFIRMED_COV_NOTIFICATION_MULTIPLE: Self
pub const UNCONFIRMED_COV_NOTIFICATION_MULTIPLE: Self
pub const CONFIRMED_AUDIT_NOTIFICATION: Self
pub const AUDIT_LOG_QUERY: Self
pub const UNCONFIRMED_AUDIT_NOTIFICATION: Self
pub const WHO_AM_I: Self
pub const YOU_ARE: Self
Source§impl ServiceSupported
impl ServiceSupported
Sourcepub fn from_confirmed_choice(choice: ConfirmedServiceChoice) -> Option<Self>
pub fn from_confirmed_choice(choice: ConfirmedServiceChoice) -> Option<Self>
The BACnetServicesSupported bit for a confirmed service choice.
The choice and bit numberings diverge for every service added after
the original standard (read-range is choice 26 but bit 35,
get-event-information choice 29 but bit 39, …) — always map through
here, never by reusing the choice number as a bit. None for choices
with no defined bit (reserved/unassigned values).
Sourcepub fn from_unconfirmed_choice(choice: UnconfirmedServiceChoice) -> Option<Self>
pub fn from_unconfirmed_choice(choice: UnconfirmedServiceChoice) -> Option<Self>
The BACnetServicesSupported bit for an unconfirmed service choice.
Every unconfirmed choice diverges from its bit (who-is is choice 8 but
bit 34). None for choices with no defined bit.
Trait Implementations§
Source§impl Clone for ServiceSupported
impl Clone for ServiceSupported
Source§fn clone(&self) -> ServiceSupported
fn clone(&self) -> ServiceSupported
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ServiceSupported
Source§impl Debug for ServiceSupported
impl Debug for ServiceSupported
Source§impl Display for ServiceSupported
impl Display for ServiceSupported
impl Eq for ServiceSupported
Source§impl FromStr for ServiceSupported
impl FromStr for ServiceSupported
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.