Skip to main content

close

Function close 

Source
pub fn close(drain: bool)
Expand description

Closes the stream: once the buffer has played (drain), or at once. The player resumes. Nothing happens without a stream.