Trait linera_sdk::FromBcsBytes
source · pub trait FromBcsBytes: Sized {
// Required method
fn from_bcs_bytes(bytes: &[u8]) -> Result<Self, Error>;
}
Expand description
Extension trait to deserialize a type from a vector of bytes using bcs
.
Required Methods§
Object Safety§
This trait is not object safe.