pub enum AccessResult {
Value(PropertyValue),
Error {
class: ErrorClass,
code: ErrorCode,
},
}Expand description
What reading one property produced: the value, or the error the read
failed with (the access-result choice of BACnetPropertyAccessResult).
On the wire the value sits inside context tag [4] and the error, an
application-tagged class then code, inside context tag [5].
Variants§
Implementations§
Source§impl AccessResult
impl AccessResult
Sourcepub const NOT_INITIALIZED: Self
pub const NOT_INITIALIZED: Self
PROPERTY / VALUE_NOT_INITIALIZED: what a Global Group holds for a member whose value it has not acquired yet (Clause 12.50.7.1).
Trait Implementations§
Source§impl Clone for AccessResult
impl Clone for AccessResult
Source§impl Debug for AccessResult
impl Debug for AccessResult
Source§impl PartialEq for AccessResult
impl PartialEq for AccessResult
impl StructuralPartialEq for AccessResult
Auto Trait Implementations§
impl Freeze for AccessResult
impl RefUnwindSafe for AccessResult
impl Send for AccessResult
impl Sync for AccessResult
impl Unpin for AccessResult
impl UnsafeUnpin for AccessResult
impl UnwindSafe for AccessResult
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