Struct http_header::RequestTargetPath[][src]

pub struct RequestTargetPath { /* fields omitted */ }
👎 Deprecated:

This crate has been renamed to http_tiny; you’re using an outdated version

Expand description

An absolute path as request target

Warning

The path parser is pretty simple and basically follows two rules only:

  • the path must either be a wildcard (*) or must begin with a slash (/)
  • empty path components are ignored (i.e. / or // etc. evaluate to [] and /test//path or /test//path/ etc. evaluate to ["test", "path"])

Other potentially dangerous components like .. are treated like normal components and will not cause an error.

Implementations

👎 Deprecated:

This crate has been renamed to http_tiny; you’re using an outdated version

Creates a new empty absolute path

👎 Deprecated:

This crate has been renamed to http_tiny; you’re using an outdated version

Pushes component to self

👎 Deprecated:

This crate has been renamed to http_tiny; you’re using an outdated version

Loads an absolute string

👎 Deprecated:

This crate has been renamed to http_tiny; you’re using an outdated version

Writes the absolute path

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Creates a value from an iterator. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.