[][src]Struct jsonrpc_server_utils::cors::Ascii

pub struct Ascii<S>(_);

Case Insensitive wrapper of Ascii strings.

Implementations

impl<S> Ascii<S>[src]

pub const fn new(s: S) -> Ascii<S>[src]

pub fn into_unicase(self) -> UniCase<S>[src]

pub fn into_inner(self) -> S[src]

Trait Implementations

impl<S> AsRef<str> for Ascii<S> where
    S: AsRef<str>, 
[src]

impl<S> Clone for Ascii<S> where
    S: Clone
[src]

impl<S> Copy for Ascii<S> where
    S: Copy
[src]

impl<S> Debug for Ascii<S> where
    S: Debug
[src]

impl<S> Default for Ascii<S> where
    S: Default
[src]

impl<S> Deref for Ascii<S>[src]

type Target = S

The resulting type after dereferencing.

impl<S> DerefMut for Ascii<S>[src]

impl<S> Display for Ascii<S> where
    S: Display
[src]

impl<S> Eq for Ascii<S> where
    S: AsRef<str>, 
[src]

impl<S> FromStr for Ascii<S> where
    S: FromStr
[src]

type Err = <S as FromStr>::Err

The associated error which can be returned from parsing.

impl<S> Hash for Ascii<S> where
    S: AsRef<str>, 
[src]

impl<T> Ord for Ascii<T> where
    T: AsRef<str>, 
[src]

impl<S1, S2> PartialEq<S2> for Ascii<S1> where
    S1: AsRef<str>,
    S2: AsRef<str>, 
[src]

impl<T> PartialOrd<Ascii<T>> for Ascii<T> where
    T: AsRef<str>, 
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Ascii<S> where
    S: RefUnwindSafe

impl<S> Send for Ascii<S> where
    S: Send

impl<S> Sync for Ascii<S> where
    S: Sync

impl<S> Unpin for Ascii<S> where
    S: Unpin

impl<S> UnwindSafe for Ascii<S> where
    S: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.