pub struct BubWriter<W: Write> {
pub inner: W,
pub metadata: BubMetadata,
pub crc: CRC<u32>,
}
Fields
inner: W
metadata: BubMetadata
crc: CRC<u32>
CRC
Implementations
sourceimpl<W: Write> BubWriter<W>
impl<W: Write> BubWriter<W>
pub fn new(inner: W, metadata: BubMetadata) -> Result<Self>
pub fn flush(&mut self) -> Result<()>
sourcepub unsafe fn into_bub_frame_writer<S: Sample>(self) -> BubFrameWriter<W, S>
pub unsafe fn into_bub_frame_writer<S: Sample>(self) -> BubFrameWriter<W, S>
pub fn into_bub_frame_writer_kind(self) -> BubFrameWriterKind<W>
Auto Trait Implementations
impl<W> RefUnwindSafe for BubWriter<W> where
W: RefUnwindSafe,
impl<W> Send for BubWriter<W> where
W: Send,
impl<W> Sync for BubWriter<W> where
W: Sync,
impl<W> Unpin for BubWriter<W> where
W: Unpin,
impl<W> UnwindSafe for BubWriter<W> where
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more