GetDataValue

Trait GetDataValue 

Source
pub trait GetDataValue<T>: DataValue {
    // Required methods
    fn get(&self) -> T;
    fn from_raw(raw: &[u8]) -> Self;
}

Required Methods§

Source

fn get(&self) -> T

Source

fn from_raw(raw: &[u8]) -> Self

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.

Implementors§