[][src]Enum oxide_auth::primitives::scope::ParseScopeErr

pub enum ParseScopeErr {
    InvalidCharacter(char),
}

Error returned from parsing a scope as encoded in an authorization token request.

Variants

InvalidCharacter(char)

A character was encountered which is not allowed to appear in scope strings.

Scope-tokens are restricted to the following subset of ascii:

  • The character '!'
  • The character range '\x32' to '\x5b' which includes numbers and upper case letters
  • The character range '\x5d' to '\x7e' which includes lower case letters Individual scope-tokens are separated by spaces.

In particular, the characters '\x22' (") and '\x5c' (\) are not allowed.

Trait Implementations

impl Debug for ParseScopeErr[src]

impl Display for ParseScopeErr[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> UnsafeAny for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input,