Skip to main content

ErrorCode

Struct ErrorCode 

Source
pub struct ErrorCode(/* private fields */);
Expand description

BACnet error codes (Clause 18).

Implementations§

Source§

impl ErrorCode

Source

pub const OTHER: Self

Source

pub const AUTHENTICATION_FAILED: Self

Source

pub const CONFIGURATION_IN_PROGRESS: Self

Source

pub const DEVICE_BUSY: Self

Source

pub const DYNAMIC_CREATION_NOT_SUPPORTED: Self

Source

pub const FILE_ACCESS_DENIED: Self

Source

pub const INCOMPATIBLE_SECURITY_LEVELS: Self

Source

pub const INCONSISTENT_PARAMETERS: Self

Source

pub const INCONSISTENT_SELECTION_CRITERION: Self

Source

pub const INVALID_DATA_TYPE: Self

Source

pub const INVALID_FILE_ACCESS_METHOD: Self

Source

pub const INVALID_FILE_START_POSITION: Self

Source

pub const INVALID_OPERATOR_NAME: Self

Source

pub const INVALID_PARAMETER_DATA_TYPE: Self

Source

pub const INVALID_TIME_STAMP: Self

Source

pub const KEY_GENERATION_ERROR: Self

Source

pub const MISSING_REQUIRED_PARAMETER: Self

Source

pub const NO_OBJECTS_OF_SPECIFIED_TYPE: Self

Source

pub const NO_SPACE_FOR_OBJECT: Self

Source

pub const NO_SPACE_TO_ADD_LIST_ELEMENT: Self

Source

pub const NO_SPACE_TO_WRITE_PROPERTY: Self

Source

pub const NO_VT_SESSIONS_AVAILABLE: Self

Source

pub const PROPERTY_IS_NOT_A_LIST: Self

Source

pub const OBJECT_DELETION_NOT_PERMITTED: Self

Source

pub const OBJECT_IDENTIFIER_ALREADY_EXISTS: Self

Source

pub const OPERATIONAL_PROBLEM: Self

Source

pub const PASSWORD_FAILURE: Self

Source

pub const READ_ACCESS_DENIED: Self

Source

pub const SECURITY_NOT_SUPPORTED: Self

Source

pub const SERVICE_REQUEST_DENIED: Self

Source

pub const TIMEOUT: Self

Source

pub const UNKNOWN_OBJECT: Self

Source

pub const UNKNOWN_PROPERTY: Self

Source

pub const UNKNOWN_VT_CLASS: Self

Source

pub const UNKNOWN_VT_SESSION: Self

Source

pub const UNSUPPORTED_OBJECT_TYPE: Self

Source

pub const VALUE_OUT_OF_RANGE: Self

Source

pub const VT_SESSION_ALREADY_CLOSED: Self

Source

pub const VT_SESSION_TERMINATION_FAILURE: Self

Source

pub const WRITE_ACCESS_DENIED: Self

Source

pub const CHARACTER_SET_NOT_SUPPORTED: Self

Source

pub const INVALID_ARRAY_INDEX: Self

Source

pub const COV_SUBSCRIPTION_FAILED: Self

Source

pub const NOT_COV_PROPERTY: Self

Source

pub const OPTIONAL_FUNCTIONALITY_NOT_SUPPORTED: Self

Source

pub const INVALID_CONFIGURATION_DATA: Self

Source

pub const DATATYPE_NOT_SUPPORTED: Self

Source

pub const DUPLICATE_NAME: Self

Source

pub const DUPLICATE_OBJECT_ID: Self

Source

pub const PROPERTY_IS_NOT_AN_ARRAY: Self

Source

pub const ABORT_BUFFER_OVERFLOW: Self

Source

pub const ABORT_INVALID_APDU_IN_THIS_STATE: Self

Source

pub const ABORT_PREEMPTED_BY_HIGHER_PRIORITY_TASK: Self

Source

pub const ABORT_SEGMENTATION_NOT_SUPPORTED: Self

Source

pub const ABORT_PROPRIETARY: Self

Source

pub const ABORT_OTHER: Self

Source

pub const INVALID_TAG: Self

Source

pub const NETWORK_DOWN: Self

Source

pub const REJECT_BUFFER_OVERFLOW: Self

Source

pub const REJECT_INCONSISTENT_PARAMETERS: Self

Source

pub const REJECT_INVALID_PARAMETER_DATA_TYPE: Self

Source

pub const REJECT_INVALID_TAG: Self

Source

pub const REJECT_MISSING_REQUIRED_PARAMETER: Self

Source

pub const REJECT_PARAMETER_OUT_OF_RANGE: Self

Source

pub const REJECT_TOO_MANY_ARGUMENTS: Self

Source

pub const REJECT_UNDEFINED_ENUMERATION: Self

Source

pub const REJECT_UNRECOGNIZED_SERVICE: Self

Source

pub const REJECT_PROPRIETARY: Self

Source

pub const REJECT_OTHER: Self

Source

pub const UNKNOWN_DEVICE: Self

Source

pub const UNKNOWN_ROUTE: Self

Source

pub const VALUE_NOT_INITIALIZED: Self

Source

pub const INVALID_EVENT_STATE: Self

Source

pub const NO_ALARM_CONFIGURED: Self

Source

pub const LOG_BUFFER_FULL: Self

Source

pub const LOGGED_VALUE_PURGED: Self

Source

pub const NO_PROPERTY_SPECIFIED: Self

Source

pub const NOT_CONFIGURED_FOR_TRIGGERED_LOGGING: Self

Source

pub const UNKNOWN_SUBSCRIPTION: Self

Source

pub const PARAMETER_OUT_OF_RANGE: Self

Source

pub const LIST_ELEMENT_NOT_FOUND: Self

Source

pub const BUSY: Self

Source

pub const COMMUNICATION_DISABLED: Self

Source

pub const SUCCESS: Self

Source

pub const ACCESS_DENIED: Self

Source

pub const BAD_DESTINATION_ADDRESS: Self

Source

pub const BAD_DESTINATION_DEVICE_ID: Self

Source

pub const BAD_SIGNATURE: Self

Source

pub const BAD_SOURCE_ADDRESS: Self

Source

pub const BAD_TIMESTAMP: Self

Source

pub const CANNOT_USE_KEY: Self

Source

pub const CANNOT_VERIFY_MESSAGE_ID: Self

Source

pub const CORRECT_KEY_REVISION: Self

Source

pub const DESTINATION_DEVICE_ID_REQUIRED: Self

Source

pub const DUPLICATE_MESSAGE: Self

Source

pub const ENCRYPTION_NOT_CONFIGURED: Self

Source

pub const ENCRYPTION_REQUIRED: Self

Source

pub const INCORRECT_KEY: Self

Source

pub const INVALID_KEY_DATA: Self

Source

pub const KEY_UPDATE_IN_PROGRESS: Self

Source

pub const MALFORMED_MESSAGE: Self

Source

pub const NOT_KEY_SERVER: Self

Source

pub const SECURITY_NOT_CONFIGURED: Self

Source

pub const SOURCE_SECURITY_REQUIRED: Self

Source

pub const TOO_MANY_KEYS: Self

Source

pub const UNKNOWN_AUTHENTICATION_TYPE: Self

Source

pub const UNKNOWN_KEY: Self

Source

pub const UNKNOWN_KEY_REVISION: Self

Source

pub const UNKNOWN_SOURCE_MESSAGE: Self

Source

pub const NOT_ROUTER_TO_DNET: Self

Source

pub const ROUTER_BUSY: Self

Source

pub const UNKNOWN_NETWORK_MESSAGE: Self

Source

pub const MESSAGE_TOO_LONG: Self

Source

pub const SECURITY_ERROR: Self

Source

pub const ADDRESSING_ERROR: Self

Source

pub const WRITE_BDT_FAILED: Self

Source

pub const READ_BDT_FAILED: Self

Source

pub const REGISTER_FOREIGN_DEVICE_FAILED: Self

Source

pub const READ_FDT_FAILED: Self

Source

pub const DELETE_FDT_ENTRY_FAILED: Self

Source

pub const DISTRIBUTE_BROADCAST_FAILED: Self

Source

pub const UNKNOWN_FILE_SIZE: Self

Source

pub const ABORT_APDU_TOO_LONG: Self

Source

pub const ABORT_APPLICATION_EXCEEDED_REPLY_TIME: Self

Source

pub const ABORT_OUT_OF_RESOURCES: Self

Source

pub const ABORT_TSM_TIMEOUT: Self

Source

pub const ABORT_WINDOW_SIZE_OUT_OF_RANGE: Self

Source

pub const FILE_FULL: Self

Source

pub const INCONSISTENT_CONFIGURATION: Self

Source

pub const INCONSISTENT_OBJECT_TYPE: Self

Source

pub const INTERNAL_ERROR: Self

Source

pub const NOT_CONFIGURED: Self

Source

pub const OUT_OF_MEMORY: Self

Source

pub const VALUE_TOO_LONG: Self

Source

pub const ABORT_INSUFFICIENT_SECURITY: Self

Source

pub const ABORT_SECURITY_ERROR: Self

Source

pub const DUPLICATE_ENTRY: Self

Source

pub const INVALID_VALUE_IN_THIS_STATE: Self

Source

pub const ALL_NAMED: &[(&str, Self)]

All named constants as (name, value) pairs.

Source

pub const fn from_raw(value: u16) -> Self

Create from a raw wire value.

Source

pub const fn to_raw(self) -> u16

Return the raw wire value.

Trait Implementations§

Source§

impl Clone for ErrorCode

Source§

fn clone(&self) -> ErrorCode

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ErrorCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for ErrorCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for ErrorCode

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ErrorCode

Source§

fn eq(&self, other: &ErrorCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ErrorCode

Source§

impl Eq for ErrorCode

Source§

impl StructuralPartialEq for ErrorCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.