pub type SlotBody = HashMap<u16, Vec<u8>>;
Expand description
A slot body is a map of slot indices to data.
Aliased Type§
struct SlotBody { /* private fields */ }
Trait Implementations§
Source§impl Serializable for SlotBody
impl Serializable for SlotBody
Source§fn from_bytes(
data: &[u8],
_: Option<SerializationInfo>,
) -> Result<Self, SerializationError>where
Self: Sized,
fn from_bytes(
data: &[u8],
_: Option<SerializationInfo>,
) -> Result<Self, SerializationError>where
Self: Sized,
Deserializes the data from a vector of bytes.