Enum substrate_api_client::node_metadata::ConversionError [−][src]
pub enum ConversionError {
InvalidPrefix,
InvalidVersion,
ExpectedDecoded,
InvalidEventArg(String, &'static str),
}Variants
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ConversionErrorimpl Send for ConversionErrorimpl Sync for ConversionErrorimpl Unpin for ConversionErrorimpl UnwindSafe for ConversionErrorBlanket 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, impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,