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

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

Required Associated Types§

type Error

Required Methods§

fn try_from_key(value: T) -> Result<Self, Self::Error>

Object Safety§

This trait is not object safe.

Implementors§