Trait borsh::de::BorshDeserialize [−][src]
pub trait BorshDeserialize: Sized { fn deserialize(buf: &mut &[u8]) -> Result<Self>; fn try_from_slice(v: &[u8]) -> Result<Self> { ... } }
Expand description
A data-structure that can be de-serialized from binary format by NBOR.