tape: implement drive clean

This commit is contained in:
Dietmar Maurer
2021-01-08 11:32:56 +01:00
parent 25d3965769
commit df69a4fc59
5 changed files with 148 additions and 0 deletions

View File

@ -63,4 +63,10 @@ pub trait MediaChange {
Ok(list)
}
/// Load/Unload cleaning cartridge
///
/// This fail if there is no cleaning cartridge online. Any media
/// inside the drive is automatically unloaded.
fn clean_drive(&mut self) -> Result<(), Error>;
}