Enum diem_data_client::Error [−][src]
pub enum Error {
DataIsUnavailable(String),
DataIsTooLarge(String),
InvalidRequest(String),
InvalidResponse(String),
TimeoutWaitingForResponse(String),
UnexpectedErrorEncountered(String),
}Expand description
An error returned by the Diem Data Client for failed API calls.
Variants
DataIsTooLarge(String)Tuple Fields of DataIsTooLarge
0: StringInvalidRequest(String)Tuple Fields of InvalidRequest
0: StringInvalidResponse(String)Tuple Fields of InvalidResponse
0: StringTimeoutWaitingForResponse(String)Tuple Fields of TimeoutWaitingForResponse
0: StringUnexpectedErrorEncountered(String)Tuple Fields of UnexpectedErrorEncountered
0: StringImplementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.