pub struct AbxWriter<W: Write> { /* private fields */ }Expand description
Encodes Events to any W: Write sink. Vec<u8> covers the
in-memory case (it implements Write); a file/socket/BufWriter covers
streaming — unlike the decode side, writing has no ring-buffer/refill
complexity to split across two types.
Implementations§
Auto Trait Implementations§
impl<W> Freeze for AbxWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for AbxWriter<W>where
W: RefUnwindSafe,
impl<W> Send for AbxWriter<W>where
W: Send,
impl<W> Sync for AbxWriter<W>where
W: Sync,
impl<W> Unpin for AbxWriter<W>where
W: Unpin,
impl<W> UnsafeUnpin for AbxWriter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for AbxWriter<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