pub trait SSTableValue:
Clone
+ Send
+ Sync {
// Required methods
fn serialize<W: Write>(&self, writer: &mut W) -> Result<()>;
fn deserialize<R: Read>(reader: &mut R) -> Result<Self>;
}Expand description
SSTable value trait
Required Methods§
fn serialize<W: Write>(&self, writer: &mut W) -> Result<()>
fn deserialize<R: Read>(reader: &mut R) -> Result<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl SSTableValue for u64
u64 value implementation
impl SSTableValue for u64
u64 value implementation
Source§impl SSTableValue for Vec<u8>
Vec value implementation
impl SSTableValue for Vec<u8>
Vec