Enum garage_util::error::Error [−][src]
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>),
BadRpc(String),
CorruptData(Hash),
Message(String),
}
Expand description
Regroup all Garage errors
Variants
Io(Error)
Tuple Fields
0: Error
Hyper(Error)
Tuple Fields
0: Error
Http(Error)
Tuple Fields
0: Error
HttpHeader(ToStrError)
Tuple Fields
0: ToStrError
Netapp(Error)
Tuple Fields
0: Error
Sled(Error)
Tuple Fields
0: Error
RmpEncode(Error)
Tuple Fields
0: Error
RmpDecode(Error)
Tuple Fields
0: Error
Json(Error)
Tuple Fields
0: Error
TomlDecode(Error)
Tuple Fields
0: Error
TokioJoin(JoinError)
Tuple Fields
0: JoinError
TokioSemAcquire(AcquireError)
Tuple Fields
0: AcquireError
RemoteError(String)
Tuple Fields
0: String
Timeout
Quorum(usize, usize, usize, Vec<String>)
BadRpc(String)
Tuple Fields
0: String
CorruptData(Hash)
Tuple Fields
0: Hash
Message(String)
Tuple Fields
0: String
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.