pub trait FromFdtPropval {
    // Required method
    fn from_propval(propval: &[u8]) -> Option<Self>
       where Self: Sized;
}
Expand description

Conversion from an FDT property value.

Implementing FromFdtPropval for a type defines its construction from a raw FDT property value (a byte slice).

Required Methods§

source

fn from_propval(propval: &[u8]) -> Option<Self>
where Self: Sized,

Implementations on Foreign Types§

source§

impl FromFdtPropval for u32

source§

fn from_propval(propval: &[u8]) -> Option<Self>

source§

impl FromFdtPropval for u64

source§

fn from_propval(propval: &[u8]) -> Option<Self>

source§

impl FromFdtPropval for ()

source§

fn from_propval(propval: &[u8]) -> Option<Self>

source§

impl FromFdtPropval for String

source§

fn from_propval(propval: &[u8]) -> Option<Self>

source§

impl FromFdtPropval for Vec<u8>

source§

fn from_propval(propval: &[u8]) -> Option<Self>

source§

impl FromFdtPropval for Vec<u32>

source§

fn from_propval(propval: &[u8]) -> Option<Self>

source§

impl FromFdtPropval for Vec<u64>

source§

fn from_propval(propval: &[u8]) -> Option<Self>

source§

impl FromFdtPropval for Vec<String>

source§

fn from_propval(propval: &[u8]) -> Option<Self>

Implementors§