Enum lpc55::bootloader::error::GenericError
source · [−]#[repr(u8)]
pub enum GenericError {
Fail,
ReadOnly,
OutOfRange,
InvalidArgument,
Timeout,
NoTransferInProgress,
}
Variants
Fail
ReadOnly
OutOfRange
InvalidArgument
Timeout
NoTransferInProgress
Trait Implementations
sourceimpl Clone for GenericError
impl Clone for GenericError
sourcefn clone(&self) -> GenericError
fn clone(&self) -> GenericError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GenericError
impl Debug for GenericError
sourceimpl<'de> Deserialize<'de> for GenericError
impl<'de> Deserialize<'de> for GenericError
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GenericError> for GenericError
impl PartialEq<GenericError> for GenericError
sourcefn eq(&self, other: &GenericError) -> bool
fn eq(&self, other: &GenericError) -> bool
sourceimpl Sequence for GenericError
impl Sequence for GenericError
sourceimpl Serialize for GenericError
impl Serialize for GenericError
sourceimpl TryFrom<u8> for GenericError
impl TryFrom<u8> for GenericError
impl Copy for GenericError
impl Eq for GenericError
impl StructuralEq for GenericError
impl StructuralPartialEq for GenericError
Auto Trait Implementations
impl RefUnwindSafe for GenericError
impl Send for GenericError
impl Sync for GenericError
impl Unpin for GenericError
impl UnwindSafe for GenericError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.