[][src]Enum quinn_proto::ConnectError

pub enum ConnectError {
    EndpointStopping,
    TooManyConnections,
    InvalidDnsName(String),
    Config(ConfigError),
}

Errors in the parameters being used to create a new connection

These arise before any I/O has been performed.

Variants

EndpointStopping

The endpoint can no longer create new connections

Indicates that a necessary component of the endpoint has been dropped or otherwise disabled.

TooManyConnections

The number of active connections on the local endpoint is at the limit

Try a larger EndpointConfig::local_cid_len.

InvalidDnsName(String)

The domain name supplied was malformed

Config(ConfigError)

The transport configuration was invalid

Trait Implementations

impl Clone for ConnectError[src]

impl Debug for ConnectError[src]

impl Display for ConnectError[src]

impl Eq for ConnectError[src]

impl Error for ConnectError[src]

impl From<ConfigError> for ConnectError[src]

impl PartialEq<ConnectError> for ConnectError[src]

impl StructuralEq for ConnectError[src]

impl StructuralPartialEq for ConnectError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,