pub enum BacnetError {
ObjectNotFound {
object_type: String,
instance: u32,
},
PropertyNotFound {
property: String,
},
InvalidObjectType(u16),
Server(String),
Protocol(String),
Io(Error),
Core(Error),
}Expand description
BACnet error types.
Variants§
ObjectNotFound
Object not found.
PropertyNotFound
Property not found.
InvalidObjectType(u16)
Invalid object type.
Server(String)
Server error.
Protocol(String)
Protocol error.
Io(Error)
I/O error.
Core(Error)
Core error.
Trait Implementations§
Source§impl Debug for BacnetError
impl Debug for BacnetError
Source§impl Display for BacnetError
impl Display for BacnetError
Source§impl Error for BacnetError
impl Error for BacnetError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for BacnetError
impl From<Error> 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