Trait gclient::ext::sp_runtime::traits::Convert
pub trait Convert<A, B> {
// Required method
fn convert(a: A) -> B;
}
Expand description
Infallible conversion trait. Generic over both source and destination types.
Required Methods§
fn convert(a: A) -> B
fn convert(a: A) -> B
Make conversion.
Object Safety§
This trait is not object safe.