Enum wayback_rs::downloader::Error [−][src]
pub enum Error {
IOError(Error),
ClientError(Error),
UnexpectedRedirect(Option<String>),
UnexpectedRedirectUrl(String),
UnexpectedStatus(StatusCode),
}
Variants
IOError(Error)
Tuple Fields of IOError
0: Error
ClientError(Error)
Tuple Fields of ClientError
0: Error
UnexpectedRedirectUrl(String)
Tuple Fields of UnexpectedRedirectUrl
0: String
UnexpectedStatus(StatusCode)
Tuple Fields of UnexpectedStatus
0: StatusCode
Trait Implementations
Return the maximum number of retries.
Return the log level for this error type (an empty value indicates that no logging will be done). Read more
Return the default initial delay.
Return a retry policy for the given error value. Read more
Generate a new backoff strategy instance.
Generate a new retry configuration instance.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
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