Enum data_streaming_service::error::Error [−][src]
pub enum Error {
DataIsUnavailable(String),
DiemDataClientError(String),
DiemDataClientResponseIsInvalid(String),
IntegerOverflow(String),
NoDataToFetch(String),
UnexpectedErrorEncountered(String),
UnsupportedRequestEncountered(String),
}Variants
DiemDataClientError(String)Tuple Fields of DiemDataClientError
0: StringDiemDataClientResponseIsInvalid(String)Tuple Fields of DiemDataClientResponseIsInvalid
0: StringIntegerOverflow(String)Tuple Fields of IntegerOverflow
0: StringNoDataToFetch(String)Tuple Fields of NoDataToFetch
0: StringUnexpectedErrorEncountered(String)Tuple Fields of UnexpectedErrorEncountered
0: StringUnsupportedRequestEncountered(String)Tuple Fields of UnsupportedRequestEncountered
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
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.