pub trait ToFdtPropval {
    // Required method
    fn to_propval(self) -> Result<Vec<u8>>;
}
Expand description

Conversion into an FDT property value.

Implementing ToFdtPropval for a type defines its conversion to a raw FDT property value (a byte vector).

Required Methods§

Implementations on Foreign Types§

source§

impl ToFdtPropval for &str

source§

impl ToFdtPropval for &[&str]

source§

impl ToFdtPropval for &[u8]

source§

impl ToFdtPropval for &[u32]

source§

impl ToFdtPropval for &[u64]

source§

impl ToFdtPropval for u32

source§

impl ToFdtPropval for u64

source§

impl ToFdtPropval for ()

source§

impl ToFdtPropval for String

source§

impl ToFdtPropval for Vec<u8>

source§

impl ToFdtPropval for Vec<u32>

source§

impl ToFdtPropval for Vec<u64>

source§

impl ToFdtPropval for Vec<String>

source§

impl<const N: usize> ToFdtPropval for &[&str; N]

source§

impl<const N: usize> ToFdtPropval for &[u8; N]

source§

impl<const N: usize> ToFdtPropval for &[u32; N]

source§

impl<const N: usize> ToFdtPropval for &[u64; N]

Implementors§