FromLeBytes

Trait FromLeBytes 

Source
pub trait FromLeBytes: Sized {
    // Required method
    fn from_le_bytes(bytes: &[u8]) -> Result<Self, XdbError>;
}

Required Methods§

Source

fn from_le_bytes(bytes: &[u8]) -> Result<Self, XdbError>

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 FromLeBytes for u32

Source§

fn from_le_bytes(bytes: &[u8]) -> Result<Self, XdbError>

Source§

impl FromLeBytes for u128

Source§

fn from_le_bytes(bytes: &[u8]) -> Result<Self, XdbError>

Implementors§