pub struct Reporting { /* private fields */ }Expand description
Where a hook’s one-line report goes, and how often.
A filter that rewrites what the model reads without saying so is worse than no filter, so
redact-secrets reports. Where that report is shown is the front end’s business: the CLI
has a stderr, the full-screen UI would lose it to the alternate screen, and the dashboard
is one process serving many runs.
Implementations§
Source§impl Reporting
impl Reporting
Sourcepub fn stderr_once_per_process() -> Self
pub fn stderr_once_per_process() -> Self
One line on stderr for the whole process: a dashboard serves runs for days, and the same sentence for every one of them would teach its reader to stop reading it.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Reporting
impl !UnwindSafe for Reporting
impl Forget for Reporting
impl Freeze for Reporting
impl Move for Reporting
impl Send for Reporting
impl Sync for Reporting
impl Unpin for Reporting
impl UnsafeUnpin for Reportingwhere
*const ArcInner<dyn Fn(&str) + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(&str) + Sync + Send>>: UnsafeUnpin,
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