pub fn clear(&mut self) -> Result<(), Error> {
        self.root.delete();
        self.root.commit()?;
        Ok(())
    }
/// Remove all saved values from the stash. It will delete everything under the root node,
/// and anything else in the same stash but not under the root node would be ignored.
Remove all saved values from the stash. It will delete everything under the root node,
and anything else in the same stash but not under the root node would be ignored.
Remove all saved values from the stash . It will delete everything under the root node and anything else in the same stash but not under the root node would be ignored .
pub fn clear(&mut self) -> Result<(), Error> {
        self.root.delete();
        self.root.commit()?;
        Ok(())
    }
pub fn clear ( & mut self ) -> Result < ( ) , Error > { self . root . delete ( ) ; self . root . commit ( ) ? ; Ok ( ( ) ) }
Remove all saved values from the stash.
Remove all saved values from the stash .
&mut self
&mut self