Enum validators::prelude::validators_prelude::Base32Error
source · pub enum Base32Error {
Invalid,
PaddingMust,
PaddingNotAllow,
}
Variants
Invalid
the fallback variant
PaddingMust
may not be valid but missing the padding part is guaranteed
PaddingNotAllow
may not be valid and the padding part seems to exist
Trait Implementations
sourceimpl Clone for Base32Error
impl Clone for Base32Error
sourcefn clone(&self) -> Base32Error
fn clone(&self) -> Base32Error
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 Base32Error
impl Debug for Base32Error
sourceimpl Display for Base32Error
impl Display for Base32Error
sourceimpl Error for Base32Error
impl Error for Base32Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for Base32Error
impl Send for Base32Error
impl Sync for Base32Error
impl Unpin for Base32Error
impl UnwindSafe for Base32Error
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.