referrerpolicy=no-referrer-when-downgrade
pub trait TryIntoKey<T>: Sized {
    type Error;

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

Required Associated Types§

type Error

Required Methods§

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

Object Safety§

This trait is not object safe.

Implementors§

§

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

§

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