pub trait SingleWriterImplByFamily<FamilyRepresentative: ?Sized>: KeyValueDbTypes {
// Required methods
fn delete_impl(
&mut self,
key: &[u8],
) -> Result<Option<Option<Self::ValueType>>>;
fn delete_with_number_key_impl(
&mut self,
key: i64,
) -> Result<Option<Option<Self::ValueType>>>;
fn put_impl(
&mut self,
key: &[u8],
value: &<Self::ValueType as DbValueType>::Type,
) -> Result<Option<Option<Self::ValueType>>>;
fn put_with_number_key_impl(
&mut self,
key: i64,
value: &<Self::ValueType as DbValueType>::Type,
) -> Result<Option<Option<Self::ValueType>>>;
}Required Methods§
fn delete_impl(&mut self, key: &[u8]) -> Result<Option<Option<Self::ValueType>>>
fn delete_with_number_key_impl( &mut self, key: i64, ) -> Result<Option<Option<Self::ValueType>>>
fn put_impl( &mut self, key: &[u8], value: &<Self::ValueType as DbValueType>::Type, ) -> Result<Option<Option<Self::ValueType>>>
fn put_with_number_key_impl( &mut self, key: i64, value: &<Self::ValueType as DbValueType>::Type, ) -> Result<Option<Option<Self::ValueType>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".