pub struct TempWav { /* private fields */ }Expand description
RAII wrapper for a temporary WAV file — deletes on drop.
The file is created lazily when write is called. On drop, the file is
deleted (errors are silently ignored). Use into_path() to take ownership
of the path without triggering deletion.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TempWav
impl RefUnwindSafe for TempWav
impl Send for TempWav
impl Sync for TempWav
impl Unpin for TempWav
impl UnsafeUnpin for TempWav
impl UnwindSafe for TempWav
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more