pub async fn remove_conditionally<K>(
        &self,
        k: &K,
        key_version: Version,
        offset: i64,
    ) -> Result<(), TableError>
    where
        K: Serialize + serde::de::DeserializeOwned,
    {
        let key = to_vec(k).expect("error during serialization.");
        self.remove_raw_values(vec![(key, key_version)], offset).await
    }
/// Conditionally remove a key from the Table if it matches the provided key version.
/// TableError::BadKeyVersion is returned in case the version does not exist.
Conditionally remove a key from the Table if it matches the provided key version.
TableError::BadKeyVersion is returned in case the version does not exist.
Conditionally remove a key from the Table if it matches the provided key version . TableError :: BadKeyVersion is returned in case the version does not exist .
pub async fn remove_conditionally<K>(
        &self,
        k: &K,
        key_version: Version,
        offset: i64,
    ) -> Result<(), TableError>
    where
        K: Serialize + serde::de::DeserializeOwned,
    {
        let key = to_vec(k).expect("error during serialization.");
        self.remove_raw_values(vec![(key, key_version)], offset).await
    }
pub async fn remove_conditionally < K > ( & self , k : & K , key_version : Version , offset : i64 , ) -> Result < ( ) , TableError > where K : Serialize + serde :: de :: DeserializeOwned , { let key = to_vec ( k ) . expect ( " " ) ; self . remove_raw_values ( vec ! [ ( key key_version ) ] , offset ) . await }
Conditionally remove a key from the Table if it matches the provided key version.
Conditionally remove a key from the Table if it matches the provided key version .
&self
k
&K
key_version
Version
offset
i64
&self
k
&K
key_version
Version
offset
i64