Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

cancel

Function cancel 

Source
pub fn cancel()
Expand description

End the drain: the CD source is closed and the state goes back to DrainState::Idle. Call it after Done or Failed, or to give up on a running one. It does not touch the drive: the caller ends the read with the polled reader’s stop.