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§

source

fn delete_impl(&mut self, key: &[u8]) -> Result<Option<Option<Self::ValueType>>>

source

fn delete_with_number_key_impl( &mut self, key: i64 ) -> Result<Option<Option<Self::ValueType>>>

source

fn put_impl( &mut self, key: &[u8], value: &<Self::ValueType as DbValueType>::Type ) -> Result<Option<Option<Self::ValueType>>>

source

fn put_with_number_key_impl( &mut self, key: i64, value: &<Self::ValueType as DbValueType>::Type ) -> Result<Option<Option<Self::ValueType>>>

Implementors§

source§

impl<T: SingleWriterImplFamily<FamilyRepresentative = KvdbSqlite<ValueType>> + KvdbSqliteDestructureTrait + KeyValueDbTypes<ValueType = ValueType>, ValueType: DbValueType> SingleWriterImplByFamily<KvdbSqlite<ValueType>> for T
where ValueType::Type: SqlBindableValue + BindValueAppendImpl<<ValueType::Type as SqlBindableValue>::Kind>,