#[non_exhaustive]pub enum AeronDriverErrorCode {
Show 17 variants
UnknownCodeValue,
Unused,
InvalidChannel,
UnknownSubscription,
UnknownPublication,
ChannelEndpointError,
UnknownCounter,
UnknownCommandTypeId,
MalformedCommand,
NotSupported,
UnknownHost,
ResourceTemporarilyUnavailable,
GenericError,
StorageSpace,
ImageRejected,
PublicationRevoked,
Unknown(i32),
}Expand description
Driver protocol error codes. Use the wire value, not an offer result or a system error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnknownCodeValue
Native constant AERON_ERROR_CODE_UNKNOWN_CODE_VALUE.
Unused
Native constant AERON_ERROR_CODE_UNUSED.
InvalidChannel
Native constant AERON_ERROR_CODE_INVALID_CHANNEL.
UnknownSubscription
Native constant AERON_ERROR_CODE_UNKNOWN_SUBSCRIPTION.
UnknownPublication
Native constant AERON_ERROR_CODE_UNKNOWN_PUBLICATION.
ChannelEndpointError
Native constant AERON_ERROR_CODE_CHANNEL_ENDPOINT_ERROR.
UnknownCounter
Native constant AERON_ERROR_CODE_UNKNOWN_COUNTER.
UnknownCommandTypeId
Native constant AERON_ERROR_CODE_UNKNOWN_COMMAND_TYPE_ID.
MalformedCommand
Native constant AERON_ERROR_CODE_MALFORMED_COMMAND.
NotSupported
Native constant AERON_ERROR_CODE_NOT_SUPPORTED.
UnknownHost
Native constant AERON_ERROR_CODE_UNKNOWN_HOST.
Native constant AERON_ERROR_CODE_RESOURCE_TEMPORARILY_UNAVAILABLE.
GenericError
Native constant AERON_ERROR_CODE_GENERIC_ERROR.
StorageSpace
Native constant AERON_ERROR_CODE_STORAGE_SPACE.
ImageRejected
Native constant AERON_ERROR_CODE_IMAGE_REJECTED.
PublicationRevoked
Native constant AERON_ERROR_CODE_PUBLICATION_REVOKED.
Unknown(i32)
An unrecognised value, preserved unchanged.
Implementations§
Trait Implementations§
Source§impl Clone for AeronDriverErrorCode
impl Clone for AeronDriverErrorCode
Source§fn clone(&self) -> AeronDriverErrorCode
fn clone(&self) -> AeronDriverErrorCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AeronDriverErrorCode
Source§impl Debug for AeronDriverErrorCode
impl Debug for AeronDriverErrorCode
impl Eq for AeronDriverErrorCode
Source§impl From<AeronDriverErrorCode> for i32
impl From<AeronDriverErrorCode> for i32
Source§fn from(value: AeronDriverErrorCode) -> Self
fn from(value: AeronDriverErrorCode) -> Self
Source§impl From<i32> for AeronDriverErrorCode
impl From<i32> for AeronDriverErrorCode
Source§impl Hash for AeronDriverErrorCode
impl Hash for AeronDriverErrorCode
Source§impl PartialEq for AeronDriverErrorCode
impl PartialEq for AeronDriverErrorCode
Source§fn eq(&self, other: &AeronDriverErrorCode) -> bool
fn eq(&self, other: &AeronDriverErrorCode) -> bool
self and other values to be equal, and is used by ==.