Struct jsonrpc_http_server::cors::Ascii [−][src]
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]
S: AsRef<str>,
impl<S> Clone for Ascii<S> where
S: Clone,
[src]
S: Clone,
impl<S> Copy for Ascii<S> where
S: Copy,
[src]
S: Copy,
impl<S> Debug for Ascii<S> where
S: Debug,
[src]
S: Debug,
impl<S> Default for Ascii<S> where
S: Default,
[src]
S: Default,
impl<S> Deref for Ascii<S>
[src]
impl<S> DerefMut for Ascii<S>
[src]
impl<S> Display for Ascii<S> where
S: Display,
[src]
S: Display,
impl<S> Eq for Ascii<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
impl<S> FromStr for Ascii<S> where
S: FromStr,
[src]
S: FromStr,
type Err = <S as FromStr>::Err
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Ascii<S>, <S as FromStr>::Err>
[src]
impl<S> Hash for Ascii<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
pub fn hash<H>(&self, hasher: &mut H) where
H: Hasher,
[src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T> Ord for Ascii<T> where
T: AsRef<str>,
[src]
T: AsRef<str>,
pub fn cmp(&self, other: &Ascii<T>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'a, S1> PartialEq<Ascii<S1>> for &'a str where
S1: AsRef<str>,
[src]
S1: AsRef<str>,
pub fn eq(&self, other: &Ascii<S1>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S1, S2> PartialEq<S2> for Ascii<S1> where
S1: AsRef<str>,
S2: AsRef<str>,
[src]
S1: AsRef<str>,
S2: AsRef<str>,
impl<T> PartialOrd<Ascii<T>> for Ascii<T> where
T: AsRef<str>,
[src]
T: AsRef<str>,
pub fn partial_cmp(&self, other: &Ascii<T>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for Ascii<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for Ascii<S> where
S: Send,
S: Send,
impl<S> Sync for Ascii<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Ascii<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for Ascii<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash,
[src]
T: Hash,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,