Enum uriparse::authority::InvalidPort[][src]

pub enum InvalidPort {
    InvalidCharacter,
    Overflow,
}

An error representing an invalid port.

Variants

An invalid character was used in the port. Only decimal digits are allowed.

The port was a valid number, but it was too large to fit in a u16.

Trait Implementations

impl From<InvalidPort> for InvalidAuthority
[src]

Performs the conversion.

impl Clone for InvalidPort
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for InvalidPort
[src]

impl Debug for InvalidPort
[src]

Formats the value using the given formatter. Read more

impl Eq for InvalidPort
[src]

impl Hash for InvalidPort
[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 InvalidPort
[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 InvalidPort
[src]

Formats the value using the given formatter. Read more

impl Error for InvalidPort
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for InvalidPort

impl Sync for InvalidPort