RawFrom

Trait RawFrom 

Source
pub trait RawFrom<'de, O> {
    // Required methods
    fn clone_from_slice(buf: &'de [u8]) -> BuckyResult<O>;
    fn clone_from_hex(hex_str: &str, buf: &'de mut Vec<u8>) -> BuckyResult<O>;
}

Required Methods§

Source

fn clone_from_slice(buf: &'de [u8]) -> BuckyResult<O>

Source

fn clone_from_hex(hex_str: &str, buf: &'de mut Vec<u8>) -> BuckyResult<O>

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§

Source§

impl<'de, O> RawFrom<'de, O> for O
where O: RawDecode<'de>,