Enum garage_util::error::Error
source · [−]pub enum Error {
Show 18 variants
Io(Error),
Hyper(Error),
Http(Error),
HttpHeader(ToStrError),
Netapp(Error),
Sled(Error),
RmpEncode(Error),
RmpDecode(Error),
Json(Error),
TomlDecode(Error),
TokioJoin(JoinError),
TokioSemAcquire(AcquireError),
RemoteError(String),
Timeout,
Quorum(usize, usize, usize, Vec<String>),
UnexpectedRpcMessage(String),
CorruptData(Hash),
Message(String),
}
Expand description
Regroup all Garage errors
Variants
Io(Error)
Hyper(Error)
Http(Error)
HttpHeader(ToStrError)
Netapp(Error)
Sled(Error)
RmpEncode(Error)
RmpDecode(Error)
Json(Error)
TomlDecode(Error)
TokioJoin(JoinError)
TokioSemAcquire(AcquireError)
RemoteError(String)
Timeout
Quorum(usize, usize, usize, Vec<String>)
UnexpectedRpcMessage(String)
CorruptData(Hash)
Message(String)
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.