Enum libp2p_quic::ConnectError [−][src]
pub enum ConnectError {
EndpointStopping,
TooManyConnections,
InvalidDnsName(String),
Config(ConfigError),
InvalidRemoteAddress(SocketAddr),
}Expand description
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
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ConnectErrorimpl Send for ConnectErrorimpl Sync for ConnectErrorimpl Unpin for ConnectErrorimpl UnwindSafe for ConnectErrorBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V