pub struct JsonlSink<W: Write + Send>(/* private fields */);Expand description
Network egress audit surface (#124, ADR 0016): the loopback proxy records
every proxy-visible connection as a NetAuditEvent through an AuditSink
(default off; enable via the BRIDLE_NET_AUDIT setting). The bridle-netmon
binary renders the JSON-lines stream as a live monitor.
Append each event as one JSON line to a Write (a file, stderr, a pipe).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<W> !Freeze for JsonlSink<W>
impl<W> RefUnwindSafe for JsonlSink<W>
impl<W> Send for JsonlSink<W>
impl<W> Sync for JsonlSink<W>
impl<W> Unpin for JsonlSink<W>where
W: Unpin,
impl<W> UnsafeUnpin for JsonlSink<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for JsonlSink<W>
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