Enum unicom::Error [−][src]
pub enum Error {
AlreadyRegistered(String),
InvalidUrl(UrlError),
UnsupportedUrl(Url),
FailedResolve(String),
FailedConnect(String),
}
Expand description
Error type
Variants
AlreadyRegistered(String)
The backend with same name already registered
Tuple Fields of AlreadyRegistered
0: String
InvalidUrl(UrlError)
Invalid URL
Tuple Fields of InvalidUrl
0: UrlError
UnsupportedUrl(Url)
The URL cannot be handled by registered backends
Tuple Fields of UnsupportedUrl
0: Url
FailedResolve(String)
Name resolving error
Tuple Fields of FailedResolve
0: String
FailedConnect(String)
Unable to connect
Tuple Fields of FailedConnect
0: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more