Trait anchor_lang::prelude::AnchorDeserialize
source · [−]pub trait AnchorDeserialize {
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>;
fn try_from_slice(v: &[u8]) -> Result<Self, Error> { ... }
}
Expand description
A data-structure that can be de-serialized from binary format by NBOR.