Trait domain_runtime_primitives::TryConvertBack

source ·
pub trait TryConvertBack<A, B>: Convert<A, B> {
    // Required method
    fn try_convert_back(b: B) -> Option<A>;
}
Expand description

Extensible conversion trait. Generic over both source and destination types.

Required Methods§

source

fn try_convert_back(b: B) -> Option<A>

Make conversion back.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl TryConvertBack<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, MultiAccountId> for AccountIdConverter

source§

impl TryConvertBack<AccountId20, MultiAccountId> for AccountId20Converter