Enum stm32wb_hci::host::uart::Error
source · pub enum Error {
BadPacketType(u8),
BLE(Error),
}Expand description
Potential errors from reading or writing packets to the controller.
Must be specialized both for communication errors (E) and vendor-specific errors (VE).
Variants§
BadPacketType(u8)
The host expected the controller to begin a packet, but the next byte is not a valid packet type byte. Contains the value of the byte.
BLE(Error)
There was an error deserializing an event. Contains the underlying error.
Trait Implementations§
source§impl PartialEq for Error
impl PartialEq for Error
impl Copy for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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