Struct jsonrpc_server_utils::cors::Ascii
source · pub struct Ascii<S>(_);
Expand description
Case Insensitive wrapper of Ascii strings.
Implementations§
Trait Implementations§
source§impl<T> Ord for Ascii<T>where
T: AsRef<str>,
impl<T> Ord for Ascii<T>where
T: AsRef<str>,
source§impl<'a, S1> PartialEq<Ascii<S1>> for &'a strwhere
S1: AsRef<str>,
impl<'a, S1> PartialEq<Ascii<S1>> for &'a strwhere
S1: AsRef<str>,
source§impl<S1, S2> PartialEq<S2> for Ascii<S1>where
S1: AsRef<str>,
S2: AsRef<str>,
impl<S1, S2> PartialEq<S2> for Ascii<S1>where
S1: AsRef<str>,
S2: AsRef<str>,
source§impl<T> PartialOrd<Ascii<T>> for Ascii<T>where
T: AsRef<str>,
impl<T> PartialOrd<Ascii<T>> for Ascii<T>where
T: AsRef<str>,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more