[][src]Struct http_header::data::encodings::Ascii

pub struct 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 { | } ~

Trait Implementations

impl Encoding for Ascii[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_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

impl Send for Ascii

impl Sync for Ascii

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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