Enum fabruic::error::Connect [−][src]
pub enum Connect {
MultipleDomains,
ParseUrl(ParseError),
Domain,
Port,
ParseDomain(ParseError),
TrustDns(Box<ResolveError>),
StdDns(Error),
NoIp,
ConnectConfig(ConnectError),
Config(Config),
}
Expand description
Error connecting to a server with
Endpoint::connect
.
Variants
MultipleDomains
The passed Certificate
has multiple domains,
this is not supported with
Endpoint::connect_pinned
.
ParseUrl(ParseError)
Tuple Fields
0: ParseError
Failed to parse URL.
Domain
URL didn’t contain a domain.
Port
URL didn’t contain a port.
ParseDomain(ParseError)
Tuple Fields
0: ParseError
Failed to parse domain.
TrustDns(Box<ResolveError>)
Tuple Fields
0: Box<ResolveError>
This is supported on crate feature
trust-dns
only.Failed to resolve domain with trust-dns
.
StdDns(Error)
Tuple Fields
0: Error
Failed to resolve domain with
ToSocketAddrs
.
NoIp
Found no IP address for that domain.
ConnectConfig(ConnectError)
Tuple Fields
0: ConnectError
Configuration needed to connect to a server is faulty.
Config(Config)
Tuple Fields
0: Config
Configuration faulty.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Connect
impl !UnwindSafe for Connect
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more