tape: remove unused eject_on_unload method
This commit is contained in:
@ -94,16 +94,9 @@ pub trait MediaChange {
|
||||
self.load_media_from_slot(slot as u64)
|
||||
}
|
||||
|
||||
/// Unload media from drive
|
||||
///
|
||||
/// This is a nop on drives without autoloader.
|
||||
/// Unload media from drive (eject media if necessary)
|
||||
fn unload_media(&mut self, target_slot: Option<u64>) -> Result<(), Error>;
|
||||
|
||||
/// Returns true if unload_media automatically ejects drive media
|
||||
fn eject_on_unload(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
/// List online media changer IDs (barcodes)
|
||||
///
|
||||
/// List acessible (online) changer IDs. This does not include
|
||||
|
Reference in New Issue
Block a user