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
Error code 0 means no error
HAL returned an unknown error code
HAL returned a null pointer
Trait Implementations
Implement formatted output for BlError
Cast BlError
to i32
Cast i32
to BlError
Auto Trait Implementations
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.