pub struct InvalidScopeToken(pub String);Expand description
The rejection for a malformed scope token (empty, or a byte outside the RFC 6749 section 3.3 charset).
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for InvalidScopeToken
impl Clone for InvalidScopeToken
Source§fn clone(&self) -> InvalidScopeToken
fn clone(&self) -> InvalidScopeToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidScopeToken
impl Debug for InvalidScopeToken
Source§impl Display for InvalidScopeToken
impl Display for InvalidScopeToken
impl Eq 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)>
Returns 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 PartialEq for InvalidScopeToken
impl PartialEq for InvalidScopeToken
impl StructuralPartialEq for InvalidScopeToken
Auto Trait Implementations§
impl Freeze for InvalidScopeToken
impl RefUnwindSafe for InvalidScopeToken
impl Send for InvalidScopeToken
impl Sync for InvalidScopeToken
impl Unpin for InvalidScopeToken
impl UnsafeUnpin 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