pub enum WearableError {
Unavailable,
Failed(String),
}Expand description
Why a call to the paired device did not happen.
Variants§
This platform or this build has no link to a paired device.
Failed(String)
The platform reported a failure, for example a device out of range.
Trait Implementations§
Source§impl Debug for WearableError
impl Debug for WearableError
Source§impl Display for WearableError
impl Display for WearableError
Source§impl Error for WearableError
impl Error for WearableError
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()
Auto Trait Implementations§
impl Freeze for WearableError
impl RefUnwindSafe for WearableError
impl Send for WearableError
impl Sync for WearableError
impl Unpin for WearableError
impl UnsafeUnpin for WearableError
impl UnwindSafe for WearableError
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