pub enum PicaCommandError {
DeviceAlreadyExists(MacAddress),
DeviceNotFound(MacAddress),
}
Variants§
DeviceAlreadyExists(MacAddress)
DeviceNotFound(MacAddress)
Trait Implementations§
Source§impl Clone for PicaCommandError
impl Clone for PicaCommandError
Source§fn clone(&self) -> PicaCommandError
fn clone(&self) -> PicaCommandError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PicaCommandError
impl Debug for PicaCommandError
Source§impl Display for PicaCommandError
impl Display for PicaCommandError
Source§impl Error for PicaCommandError
impl Error for PicaCommandError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for PicaCommandError
impl PartialEq for PicaCommandError
impl Eq for PicaCommandError
impl StructuralPartialEq for PicaCommandError
Auto Trait Implementations§
impl Freeze for PicaCommandError
impl RefUnwindSafe for PicaCommandError
impl Send for PicaCommandError
impl Sync for PicaCommandError
impl Unpin for PicaCommandError
impl UnwindSafe for PicaCommandError
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