pub struct RawOutput<W> { /* private fields */ }
Expand description
Write uncompressed (raw) ADΔER data to a stream.
Implementations§
Trait Implementations§
Source§impl<W: Write + Send + Sync + 'static> From<RawOutput<W>> for WriteCompressionEnum<W>
impl<W: Write + Send + Sync + 'static> From<RawOutput<W>> for WriteCompressionEnum<W>
Source§fn from(v: RawOutput<W>) -> WriteCompressionEnum<W>
fn from(v: RawOutput<W>) -> WriteCompressionEnum<W>
Converts to this type from the input type.
Source§impl<W: Write + Send + Sync + 'static> WriteCompression<W> for RawOutput<W>
impl<W: Write + Send + Sync + 'static> WriteCompression<W> for RawOutput<W>
Source§fn ingest_event(&mut self, event: Event) -> Result<(), CodecError>
fn ingest_event(&mut self, event: Event) -> Result<(), CodecError>
Ingest an event into the codec.
This will always write the event immediately to the underlying writer.
Source§fn meta(&self) -> &CodecMetadata
fn meta(&self) -> &CodecMetadata
Returns a reference to the metadata
Source§fn meta_mut(&mut self) -> &mut CodecMetadata
fn meta_mut(&mut self) -> &mut CodecMetadata
Returns a mutable reference to the metadata
Source§fn write_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
fn write_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
Write the given bytes to the stream
Source§fn byte_align(&mut self) -> Result<()>
fn byte_align(&mut self) -> Result<()>
Align the bitstream to the next byte boundary
Source§fn into_writer(self) -> Option<W>
fn into_writer(self) -> Option<W>
Consumes the compression stream and returns the underlying writer.
Source§fn flush_writer(&mut self) -> Result<()>
fn flush_writer(&mut self) -> Result<()>
Flush the
BitWriter
. Does not flush the internal BufWriter
.Auto Trait Implementations§
impl<W> Freeze for RawOutput<W>where
W: Freeze,
impl<W> RefUnwindSafe for RawOutput<W>where
W: RefUnwindSafe,
impl<W> Send for RawOutput<W>where
W: Send,
impl<W> Sync for RawOutput<W>where
W: Sync,
impl<W> Unpin for RawOutput<W>where
W: Unpin,
impl<W> UnwindSafe for RawOutput<W>where
W: UnwindSafe,
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