Enum substrate_api_client::ApiClientError [−][src]
pub enum ApiClientError {
Genesis,
RuntimeVersion,
MetadataFetch,
NoSigner,
WebSocket(Error),
Disconnected(RecvError),
Metadata(MetadataError),
Events(EventsError),
StorageValueDecode(Error),
InvalidHexString(FromHexError),
Deserializing(Error),
UnsupportedXtStatus(XtStatus),
}Variants
WebSocket(Error)Disconnected(RecvError)Metadata(MetadataError)Events(EventsError)StorageValueDecode(Error)InvalidHexString(FromHexError)Deserializing(Error)UnsupportedXtStatus(XtStatus)Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ApiClientErrorimpl Send for ApiClientErrorimpl Sync for ApiClientErrorimpl Unpin for ApiClientErrorimpl !UnwindSafe for ApiClientErrorBlanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>, Convert from a value of T into an equivalent instance of Self. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>, Consume self to return an equivalent value of T. Read more
The counterpart to unchecked_from.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> TConsume self to return an equivalent value of T.
pub fn vzip(self) -> Vimpl<T> MaybeDebug for T where
T: Debug, impl<T> MaybeDebug for T where
T: Debug,