Trait casper_types::bytesrepr::FromBytes
source · [−]pub trait FromBytes: Sized {
fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>;
fn from_vec(bytes: Vec<u8>) -> Result<(Self, Vec<u8>), Error> { ... }
}
Expand description
A type which can be deserialized from a Vec<u8>
.