Trait tea_sdk::vmh::serde::FromBytes

pub trait FromBytes<'a>: Sized {
    // Required method
    fn from_bytes(buf: &'a [u8]) -> Result<Self, Global>;
}

Required Methods§

fn from_bytes(buf: &'a [u8]) -> Result<Self, Global>

Object Safety§

This trait is not object safe.

Implementors§

§

impl<'a, T> FromBytes<'a> for Twhere T: IsFromBytes<'a>,