Enum radio::config::ConfigError
source · #[non_exhaustive]pub enum ConfigError<E> {
NotSupported,
Other(E),
}
Expand description
Radio configuration errors This should be extended with errors generally relevant to configuration, with radio-specific errors passed through the Other(E) field.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl<E: Clone> Clone for ConfigError<E>
impl<E: Clone> Clone for ConfigError<E>
source§fn clone(&self) -> ConfigError<E>
fn clone(&self) -> ConfigError<E>
Returns a copy 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<E: Debug> Debug for ConfigError<E>
impl<E: Debug> Debug for ConfigError<E>
source§impl<E: PartialEq> PartialEq for ConfigError<E>
impl<E: PartialEq> PartialEq for ConfigError<E>
source§fn eq(&self, other: &ConfigError<E>) -> bool
fn eq(&self, other: &ConfigError<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E> StructuralPartialEq for ConfigError<E>
Auto Trait Implementations§
impl<E> Freeze for ConfigError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ConfigError<E>where
E: RefUnwindSafe,
impl<E> Send for ConfigError<E>where
E: Send,
impl<E> Sync for ConfigError<E>where
E: Sync,
impl<E> Unpin for ConfigError<E>where
E: Unpin,
impl<E> UnwindSafe for ConfigError<E>where
E: UnwindSafe,
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