#[repr(i32)]pub enum BlError {
SYS_EOK = 0,
SYS_UNKNOWN = -1,
SYS_NULLPOINTER = -2,
}Expand description
Error codes for BL602 HAL
Variants§
SYS_EOK = 0
Error code 0 means no error
SYS_UNKNOWN = -1
HAL returned an unknown error code
SYS_NULLPOINTER = -2
HAL returned a null pointer
Trait Implementations§
impl StructuralPartialEq for BlError
Auto Trait Implementations§
impl Freeze for BlError
impl RefUnwindSafe for BlError
impl Send for BlError
impl Sync for BlError
impl Unpin for BlError
impl UnwindSafe for BlError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more