Enum uriparse::path::InvalidPath[][src]

pub enum InvalidPath {
    ExpectedEOF,
    InvalidCharacter,
    InvalidPercentEncoding,
}

An error representing an invalid path.

Variants

This error occurs when the string from which the path is parsed is not entirely consumed during the parsing. For example, parsing the string "/my/path?query" would generate this error since "?query" would still be left over.

This only applies to the [Path::try_from] functions.

The path contained an invalid character.

The path contained an invalid percent encoding (e.g. "%ZZ").

Trait Implementations

impl Clone for InvalidPath
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for InvalidPath
[src]

impl Debug for InvalidPath
[src]

Formats the value using the given formatter. Read more

impl Eq for InvalidPath
[src]

impl Hash for InvalidPath
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for InvalidPath
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for InvalidPath
[src]

Formats the value using the given formatter. Read more

impl Error for InvalidPath
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<!> for InvalidPath
[src]

Performs the conversion.

impl From<InvalidPath> for InvalidRelativeReference
[src]

Performs the conversion.

impl From<InvalidPath> for InvalidURI
[src]

Performs the conversion.

impl From<InvalidPath> for InvalidURIReference
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for InvalidPath

impl Sync for InvalidPath