pub enum CommError {
Show 15 variants
Failed,
BufferError,
ProtocolByteError(&'static str, usize, u8, u8),
ReadError,
WriteError,
BufferReadError,
UnexpectedAddressFamily,
Utf8Error(Utf8Error),
CapacityError(CapacityError),
BootRomStart,
FirmwareStart,
HifSendFailed,
InvalidHifResponse(&'static str),
OperationRetriesExceeded,
ExceedsFlashPageSize,
}Expand description
Low-level chip communication errors
Variants§
Failed
BufferError
ProtocolByteError(&'static str, usize, u8, u8)
ReadError
WriteError
BufferReadError
UnexpectedAddressFamily
Utf8Error(Utf8Error)
CapacityError(CapacityError)
BootRomStart
Wifi module boot rom start failed
FirmwareStart
Wifi module firmware failed to start
HifSendFailed
HIF send failed
InvalidHifResponse(&'static str)
Invalid HiF response
OperationRetriesExceeded
Operation retries exceeded
ExceedsFlashPageSize
Specified exceeds the flash page.
Trait Implementations§
Source§impl From<CapacityError> for CommError
impl From<CapacityError> for CommError
Source§fn from(v: CapacityError) -> Self
fn from(v: CapacityError) -> Self
Converts to this type from the input type.
Source§impl From<CommError> for StackError
impl From<CommError> for StackError
Source§impl From<Infallible> for CommError
impl From<Infallible> for CommError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for CommError
Auto Trait Implementations§
impl Freeze for CommError
impl RefUnwindSafe for CommError
impl Send for CommError
impl Sync for CommError
impl Unpin for CommError
impl UnsafeUnpin for CommError
impl UnwindSafe for CommError
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