Enum xio_common::ErrorCode [] [src]

#[repr(u16)]
pub enum ErrorCode { Success, Failure, MessageConstructionError, InvalidOptions, OutOfSequence, PayloadTooBig, UnknownMessage, InvalidLength, NonExistingIndex, InvalidCount, UnsupportedType, UnsupportedValue, TypeValueMismatch, InvalidOperation, ExhaustedResources, InvalidState, InsufficientPermission, ProgrammingMistake, }

Variants

Methods

impl ErrorCode
[src]

[src]

[src]

[src]

Trait Implementations

impl From<ErrorCode> for Error
[src]

[src]

Performs the conversion.

impl Copy for ErrorCode
[src]

impl Clone for ErrorCode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ErrorCode
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ErrorCode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ErrorCode
[src]

impl Display for ErrorCode
[src]

[src]

Formats the value using the given formatter. Read more

impl LowerHex for ErrorCode
[src]

[src]

Formats the value using the given formatter.

impl PreliminaryTryFrom<u16> for ErrorCode
[src]

[src]

impl<E> Into<Result<(), E>> for ErrorCode where
    E: From<ErrorCode>, 
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ErrorCode

impl Sync for ErrorCode