Skip to main content

FromHkValue

Trait FromHkValue 

Source
pub trait FromHkValue: Sized {
    // Required method
    fn from_hk_value(value: &HkValue) -> Result<Self, HkError>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromHkValue for bool

Source§

impl FromHkValue for f64

Source§

impl FromHkValue for String

Source§

impl<T: FromHkValue> FromHkValue for Option<T>

Source§

impl<T: FromHkValue> FromHkValue for Vec<T>

Implementors§