[−][src]Trait tendermint_light_client::errors::ErrorExt
Extension methods for ErrorKind
Required methods
fn not_enough_trust(&self) -> bool
Whether this error means that the light block cannot be trusted w.r.t. the latest trusted state.
fn has_expired(&self) -> bool
Whether this error means that the light block has expired, ie. it's outside of the trusting period.
fn is_timeout(&self) -> bool
Whether this error means that a timeout occured when querying a node.
Implementors
impl ErrorExt for ErrorKind
[src]
fn not_enough_trust(&self) -> bool
[src]
fn has_expired(&self) -> bool
[src]
fn is_timeout(&self) -> bool
[src]
Whether this error means that a timeout occured when querying a node.