Enum bl602_sdk::result::BlError[][src]

#[repr(i32)]
pub enum BlError {
    SYS_EOK,
    SYS_UNKNOWN,
    SYS_NULLPOINTER,
}
Expand description

Error codes for BL602 HAL

Variants

SYS_EOK

Error code 0 means no error

SYS_UNKNOWN

HAL returned an unknown error code

SYS_NULLPOINTER

HAL returned a null pointer

Trait Implementations

Implement formatted output for BlError

Formats the value using the given formatter. Read more

Cast () to BlError

Cast () to BlError

Cast BlError to i32

Cast BlError to i32

Cast i32 to BlError

Cast i32 to BlError

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.