Type Alias Key

Source
pub type Key = Vec<u8>;

Aliased Type§

struct Key { /* private fields */ }

Trait Implementations§

Source§

impl Marshal for Key

Source§

fn marshal_binary(&self) -> Result<Vec<u8>>

Marshal the object into a binary form and return it as a new vector.
Source§

fn unmarshal_binary(&mut self, data: &[u8]) -> Result<usize>

Unmarshal from the given byte slice reference and modify self.