pub enum InitErrorKind {
InvalidConfig(ConfigError),
PeripheralNotReady,
}Variants§
InvalidConfig(ConfigError)
PeripheralNotReady
Trait Implementations§
Source§impl Clone for InitErrorKind
impl Clone for InitErrorKind
Source§fn clone(&self) -> InitErrorKind
fn clone(&self) -> InitErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InitErrorKind
Source§impl Debug for InitErrorKind
impl Debug for InitErrorKind
impl Eq for InitErrorKind
Source§impl PartialEq for InitErrorKind
impl PartialEq for InitErrorKind
Source§fn eq(&self, other: &InitErrorKind) -> bool
fn eq(&self, other: &InitErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InitErrorKind
Auto Trait Implementations§
impl Freeze for InitErrorKind
impl RefUnwindSafe for InitErrorKind
impl Send for InitErrorKind
impl Sync for InitErrorKind
impl Unpin for InitErrorKind
impl UnsafeUnpin for InitErrorKind
impl UnwindSafe for InitErrorKind
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