Enum tendermint_light_client::components::io::IoError [−][src]
pub enum IoError {
RpcError(Error),
InvalidHeight(String),
InvalidValidatorSet(String),
Timeout(Duration),
Runtime,
}Expand description
I/O errors
Variants
RpcError(Error)Wrapper for a tendermint::rpc::Error.
InvalidHeight(String)Given height is invalid
InvalidValidatorSet(String)Fetched validator set is invalid
Timeout(Duration)Task timed out.
Failed to initialize runtime
Implementations
Whether this error means that a timeout occured when querying a node.
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 IoErrorimpl UnwindSafe for IoErrorBlanket 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 = TShould always be Self
pub fn vzip(self) -> V