pub enum AuthTokenStringDeserializationError {
InvalidHexCharacter,
OddLength,
}
Variants§
Trait Implementations§
source§impl Clone for AuthTokenStringDeserializationError
impl Clone for AuthTokenStringDeserializationError
source§fn clone(&self) -> AuthTokenStringDeserializationError
fn clone(&self) -> AuthTokenStringDeserializationError
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 Error for AuthTokenStringDeserializationError
impl Error for AuthTokenStringDeserializationError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AuthTokenStringDeserializationError> for LoadAuthTokenError
impl From<AuthTokenStringDeserializationError> for LoadAuthTokenError
source§fn from(source: AuthTokenStringDeserializationError) -> Self
fn from(source: AuthTokenStringDeserializationError) -> Self
Converts to this type from the input type.
source§impl From<AuthTokenStringDeserializationError> for TokenUserFileReadError
impl From<AuthTokenStringDeserializationError> for TokenUserFileReadError
source§fn from(source: AuthTokenStringDeserializationError) -> Self
fn from(source: AuthTokenStringDeserializationError) -> Self
Converts to this type from the input type.
source§impl PartialEq for AuthTokenStringDeserializationError
impl PartialEq for AuthTokenStringDeserializationError
source§fn eq(&self, other: &AuthTokenStringDeserializationError) -> bool
fn eq(&self, other: &AuthTokenStringDeserializationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AuthTokenStringDeserializationError
impl StructuralPartialEq for AuthTokenStringDeserializationError
Auto Trait Implementations§
impl RefUnwindSafe for AuthTokenStringDeserializationError
impl Send for AuthTokenStringDeserializationError
impl Sync for AuthTokenStringDeserializationError
impl Unpin for AuthTokenStringDeserializationError
impl UnwindSafe for AuthTokenStringDeserializationError
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