Struct jsonrpc_http_server::cors::Ascii
source · pub struct Ascii<S>(/* private fields */);
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<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 moreimpl<S> Copy for Ascii<S>where S: Copy,
impl<S> Eq for Ascii<S>where S: AsRef<str>,
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§
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