referrerpolicy=no-referrer-when-downgrade

Trait frame_support::traits::dynamic_params::TryIntoKey

source ·
pub trait TryIntoKey<T>: Sized {
    type Error;

    // Required method
    fn try_into_key(self) -> Result<T, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn try_into_key(self) -> Result<T, Self::Error>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, U> TryIntoKey<U> for T
where U: TryFromKey<T>,

§

type Error = <U as TryFromKey<T>>::Error