Trait MyTryFromBytes
crev_common::serde
pub trait MyTryFromBytes: Sized { type Err: 'static + Sized + Error; fn try_from(_: &[u8]) -> Result<Self, Self::Err>; }
type Err: 'static + Sized + Error
fn try_from(_: &[u8]) -> Result<Self, Self::Err>
impl MyTryFromBytes for Vec<u8>
type Err = Error
fn try_from(slice: &[u8]) -> Result<Self, Self::Err>