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

pause_until_stopped

Function pause_until_stopped 

Source
pub fn pause_until_stopped(
    drive: &mut impl PauseDrive,
) -> Result<(), PauseFailure>
Expand description

Pause the drive and return only when it has stopped.

Ok means the second response arrived, or the status reported no reading, seeking or playing bit. The drive is then idle and spun up.