Enum aliri_oauth2::scope::InvalidScopeToken
source · pub enum InvalidScopeToken {
EmptyString,
InvalidByte {
position: usize,
value: u8,
},
}
Expand description
An invalid scope token
Variants§
EmptyString
The scope token was the empty string
InvalidByte
The scope token contained an invalid byte
Trait Implementations§
source§impl Debug for InvalidScopeToken
impl Debug for InvalidScopeToken
source§impl Display for InvalidScopeToken
impl Display for InvalidScopeToken
source§impl Error for InvalidScopeToken
impl Error for InvalidScopeToken
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<Infallible> for InvalidScopeToken
impl From<Infallible> for InvalidScopeToken
source§fn from(x: Infallible) -> Self
fn from(x: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidScopeToken
impl RefUnwindSafe for InvalidScopeToken
impl Send for InvalidScopeToken
impl Sync for InvalidScopeToken
impl Unpin for InvalidScopeToken
impl UnwindSafe for InvalidScopeToken
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more