Enum quinn_proto::ConnectError [−][src]
pub enum ConnectError {
EndpointStopping,
TooManyConnections,
InvalidDnsName(String),
Config(ConfigError),
InvalidRemoteAddress(SocketAddr),
}Errors in the parameters being used to create a new connection
These arise before any I/O has been performed.
Variants
The endpoint can no longer create new connections
Indicates that a necessary component of the endpoint has been dropped or otherwise disabled.
The number of active connections on the local endpoint is at the limit
Try using longer connection IDs.
InvalidDnsName(String)The domain name supplied was malformed
Config(ConfigError)The transport configuration was invalid
InvalidRemoteAddress(SocketAddr)The remote SocketAddr supplied was malformed
Examples include attempting to connect to port 0, or using an inappropriate address family.
Trait Implementations
impl Clone for ConnectError[src]
impl Clone for ConnectError[src]fn clone(&self) -> ConnectError[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for ConnectError[src]
impl Eq for ConnectError[src]impl Error for ConnectError[src]
impl Error for ConnectError[src]impl PartialEq<ConnectError> for ConnectError[src]
impl PartialEq<ConnectError> for ConnectError[src]fn eq(&self, other: &ConnectError) -> bool[src]
fn ne(&self, other: &ConnectError) -> bool[src]
impl StructuralEq for ConnectError[src]
impl StructuralEq for ConnectError[src]impl StructuralPartialEq for ConnectError[src]
impl StructuralPartialEq for ConnectError[src]Auto Trait Implementations
impl RefUnwindSafe for ConnectError
impl RefUnwindSafe for ConnectErrorimpl Send for ConnectError
impl Send for ConnectErrorimpl Sync for ConnectError
impl Sync for ConnectErrorimpl Unpin for ConnectError
impl Unpin for ConnectErrorimpl UnwindSafe for ConnectError
impl UnwindSafe for ConnectErrorBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,