Enum actix_net::connector::ConnectorError [−][src]
pub enum ConnectorError {
Resolver(ResolverError),
NoRecords,
IoError(Error),
}Variants
Resolver(ResolverError)Failed to resolve the hostname
NoRecordsNot dns records
IoError(Error)Connection io error
Trait Implementations
impl Debug for ConnectorError[src]
impl Debug for ConnectorErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<ResolverError> for ConnectorError[src]
impl From<ResolverError> for ConnectorErrorfn from(err: ResolverError) -> Self[src]
fn from(err: ResolverError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for ConnectorError
impl Send for ConnectorErrorimpl Sync for ConnectorError
impl Sync for ConnectorError