pub fn replace_in(dir: &Path, notes: Vec<Queued>) -> Result<()>
Replace the waiting memories in dir.
dir
The queue file cannot be rewritten.