pub struct BacnetError {
pub invoke_id: u8,
pub service_choice: u8,
pub error_class: Option<u32>,
pub error_code: Option<u32>,
}Expand description
A decoded BACnet Error APDU with optional error class and code.
Fields§
§invoke_id: u8§service_choice: u8§error_class: Option<u32>§error_code: Option<u32>Implementations§
Source§impl BacnetError
impl BacnetError
pub fn decode(r: &mut Reader<'_>) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Clone for BacnetError
impl Clone for BacnetError
Source§fn clone(&self) -> BacnetError
fn clone(&self) -> BacnetError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BacnetError
impl Debug for BacnetError
Source§impl PartialEq for BacnetError
impl PartialEq for BacnetError
impl Copy for BacnetError
impl Eq for BacnetError
impl StructuralPartialEq for BacnetError
Auto Trait Implementations§
impl Freeze for BacnetError
impl RefUnwindSafe for BacnetError
impl Send for BacnetError
impl Sync for BacnetError
impl Unpin for BacnetError
impl UnsafeUnpin for BacnetError
impl UnwindSafe for BacnetError
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