[−][src]Struct http_header::data::encodings::Ascii
Printable ASCII characters
This ASCII mode includes all
- alphabetic characters (U+0041 'A' ... U+005A 'Z' or U+0061 'a' ... U+007A 'z')
- digits (U+0030 '0' ... U+0039 '9')
- whitespace characters (U+0020 SPACE, U+0009 HORIZONTAL TAB, U+000A LINE FEED, U+000C FORM FEED, or U+000D CARRIAGE RETURN)
- punctuation characters:
- U+0021 ... U+002F
! " # $ % & ' ( ) * + , - . /
- U+003A ... U+0040
: ; < = > ? @
- U+005B ... U+0060
[ \ ] ^ _ `
- U+007B ... U+007E
{ | } ~
- U+0021 ... U+002F
Trait Implementations
impl Encoding for Ascii
[src]
fn is_valid(bytes: &[u8]) -> bool
[src]
fn is_eq(a: &[u8], b: &[u8]) -> bool
[src]
Checks if a
is equal to b
(can be overridden; e.g. to perform a case-insensitive comparison) Read more
fn hash(bytes: &[u8], hasher: &mut dyn Hasher)
[src]
Hashes bytes
(can be overridden; e.g. to compute a case-insensitive hash)
impl Utf8Subset for Ascii
[src]
impl Default for Ascii
[src]
impl Clone for Ascii
[src]
fn clone(&self) -> Ascii
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Ascii
[src]
impl Debug for Ascii
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,