pub type Error = DFError;
enum Error {
Show 34 variants
IO(Error),
MpscSend(String),
SendTimeout,
HashRing(String),
HostNotFound(String),
TaskNotFound(String),
PieceNotFound(String),
PieceStateIsFailed(String),
WaitForPieceFinishedTimeout(String),
AvailableManagerNotFound,
AvailableSchedulersNotFound,
DownloadFromRemotePeerFailed(DownloadFromRemotePeerFailed),
ColumnFamilyNotFound(String),
InvalidStateTransition(String, String),
InvalidState(String),
InvalidURI(String),
InvalidPeer(String),
SchedulerClientNotFound,
UnexpectedResponse,
PieceDigestMismatch,
MaxScheduleCountExceeded(u32),
InvalidContentLength,
InvalidParameter,
Utf8(Utf8Error),
Unknown(String),
Unimplemented,
EmptyHTTPRangeError,
TonicStatus(Status),
TokioStreamElapsed(Elapsed),
ReqwesError(Error),
HyperError(Error),
BackendError(BackendError),
HyperUtilClientLegacyError(Error),
ExternalError(ExternalError),
}