pub struct JsonlFileSink { /* private fields */ }Expand description
JSONL file sink with SHA-256 chain integrity.
Writes transcript.jsonl to a target directory. Every record call
serializes the fact, prepends the current chain head as prev_hash,
writes one line, flushes, and advances the chain head. The transcript
is self-identifying: SHA-256 of the last line is the cryptographic
fingerprint; no sidecar file is written.
Implementations§
Trait Implementations§
Source§impl Debug for JsonlFileSink
impl Debug for JsonlFileSink
Source§impl TranscriptSink for JsonlFileSink
impl TranscriptSink for JsonlFileSink
Auto Trait Implementations§
impl Freeze for JsonlFileSink
impl RefUnwindSafe for JsonlFileSink
impl Send for JsonlFileSink
impl Sync for JsonlFileSink
impl Unpin for JsonlFileSink
impl UnsafeUnpin for JsonlFileSink
impl UnwindSafe for JsonlFileSink
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