pub struct ServiceSupported(/* private fields */);Expand description
Bit positions within a BACnetServicesSupported bit string (Clause 21).
Implementations§
Source§impl ServiceSupported
impl ServiceSupported
Sourcepub const ACKNOWLEDGE_ALARM: Self
pub const ACKNOWLEDGE_ALARM: Self
Wire value 0.
Sourcepub const CONFIRMED_COV_NOTIFICATION: Self
pub const CONFIRMED_COV_NOTIFICATION: Self
Wire value 1.
Sourcepub const CONFIRMED_EVENT_NOTIFICATION: Self
pub const CONFIRMED_EVENT_NOTIFICATION: Self
Wire value 2.
Sourcepub const GET_ALARM_SUMMARY: Self
pub const GET_ALARM_SUMMARY: Self
Wire value 3.
Sourcepub const GET_ENROLLMENT_SUMMARY: Self
pub const GET_ENROLLMENT_SUMMARY: Self
Wire value 4.
Sourcepub const SUBSCRIBE_COV: Self
pub const SUBSCRIBE_COV: Self
Wire value 5.
Sourcepub const ATOMIC_READ_FILE: Self
pub const ATOMIC_READ_FILE: Self
Wire value 6.
Sourcepub const ATOMIC_WRITE_FILE: Self
pub const ATOMIC_WRITE_FILE: Self
Wire value 7.
Sourcepub const ADD_LIST_ELEMENT: Self
pub const ADD_LIST_ELEMENT: Self
Wire value 8.
Sourcepub const REMOVE_LIST_ELEMENT: Self
pub const REMOVE_LIST_ELEMENT: Self
Wire value 9.
Sourcepub const CREATE_OBJECT: Self
pub const CREATE_OBJECT: Self
Wire value 10.
Sourcepub const DELETE_OBJECT: Self
pub const DELETE_OBJECT: Self
Wire value 11.
Sourcepub const READ_PROPERTY: Self
pub const READ_PROPERTY: Self
Wire value 12.
Sourcepub const READ_PROPERTY_MULTIPLE: Self
pub const READ_PROPERTY_MULTIPLE: Self
Wire value 14.
Sourcepub const WRITE_PROPERTY: Self
pub const WRITE_PROPERTY: Self
Wire value 15.
Sourcepub const WRITE_PROPERTY_MULTIPLE: Self
pub const WRITE_PROPERTY_MULTIPLE: Self
Wire value 16.
Sourcepub const DEVICE_COMMUNICATION_CONTROL: Self
pub const DEVICE_COMMUNICATION_CONTROL: Self
Wire value 17.
Sourcepub const CONFIRMED_PRIVATE_TRANSFER: Self
pub const CONFIRMED_PRIVATE_TRANSFER: Self
Wire value 18.
Sourcepub const CONFIRMED_TEXT_MESSAGE: Self
pub const CONFIRMED_TEXT_MESSAGE: Self
Wire value 19.
Sourcepub const REINITIALIZE_DEVICE: Self
pub const REINITIALIZE_DEVICE: Self
Wire value 20.
Sourcepub const UNCONFIRMED_COV_NOTIFICATION: Self
pub const UNCONFIRMED_COV_NOTIFICATION: Self
Wire value 28.
Sourcepub const UNCONFIRMED_EVENT_NOTIFICATION: Self
pub const UNCONFIRMED_EVENT_NOTIFICATION: Self
Wire value 29.
Sourcepub const UNCONFIRMED_PRIVATE_TRANSFER: Self
pub const UNCONFIRMED_PRIVATE_TRANSFER: Self
Wire value 30.
Sourcepub const UNCONFIRMED_TEXT_MESSAGE: Self
pub const UNCONFIRMED_TEXT_MESSAGE: Self
Wire value 31.
Sourcepub const TIME_SYNCHRONIZATION: Self
pub const TIME_SYNCHRONIZATION: Self
Wire value 32.
Sourcepub const READ_RANGE: Self
pub const READ_RANGE: Self
Wire value 35.
Sourcepub const UTC_TIME_SYNCHRONIZATION: Self
pub const UTC_TIME_SYNCHRONIZATION: Self
Wire value 36.
Sourcepub const LIFE_SAFETY_OPERATION: Self
pub const LIFE_SAFETY_OPERATION: Self
Wire value 37.
Sourcepub const SUBSCRIBE_COV_PROPERTY: Self
pub const SUBSCRIBE_COV_PROPERTY: Self
Wire value 38.
Sourcepub const GET_EVENT_INFORMATION: Self
pub const GET_EVENT_INFORMATION: Self
Wire value 39.
Sourcepub const WRITE_GROUP: Self
pub const WRITE_GROUP: Self
Wire value 40.
Sourcepub const SUBSCRIBE_COV_PROPERTY_MULTIPLE: Self
pub const SUBSCRIBE_COV_PROPERTY_MULTIPLE: Self
Wire value 41.
Sourcepub const CONFIRMED_COV_NOTIFICATION_MULTIPLE: Self
pub const CONFIRMED_COV_NOTIFICATION_MULTIPLE: Self
Wire value 42.
Sourcepub const UNCONFIRMED_COV_NOTIFICATION_MULTIPLE: Self
pub const UNCONFIRMED_COV_NOTIFICATION_MULTIPLE: Self
Wire value 43.
Sourcepub const CONFIRMED_AUDIT_NOTIFICATION: Self
pub const CONFIRMED_AUDIT_NOTIFICATION: Self
Wire value 44.
Sourcepub const AUDIT_LOG_QUERY: Self
pub const AUDIT_LOG_QUERY: Self
Wire value 45.
Sourcepub const UNCONFIRMED_AUDIT_NOTIFICATION: Self
pub const UNCONFIRMED_AUDIT_NOTIFICATION: Self
Wire value 46.
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
impl 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.