pub fn remove(&mut self, key: String) -> Result<()> {
        if self.offsets.get(&key).is_some() {
            self.append(key, None)
        } else {
            Err(KeyNotFound)
        }
    }
/// Remove a key by adding a tombstone value!
Remove a key by adding a tombstone value!
Remove a key by adding a tombstone value!
pub fn remove(&mut self, key: String) -> Result<()> {
        if self.offsets.get(&key).is_some() {
            self.append(key, None)
        } else {
            Err(KeyNotFound)
        }
    }
pub fn remove ( & mut self , key : String ) -> Result < ( ) > { if self . offsets . get ( & key ) . is_some ( ) { self . append ( key , None ) } else { Err ( KeyNotFound ) } }
Remove a key by adding a tombstone value!
Remove a key by adding a tombstone value!
&mut self
key
String
&mut self
key
String