pub enum ContentPolicy {
Metadata,
Full,
}Expand description
What producer payloads may carry.
Metadata (the default) records kinds, lengths, identities and timing —
diagnostic, not anonymous: paths, repository identities, revisions and
operation names can still be sensitive. Full is an explicit opt into
sensitive capture (typed text, UI field text, provider stderr); it adds
surfaces, it is not a redaction boundary. Authorization headers,
environment values, command arguments and raw RPC/HTTP bodies are never
recorded automatically under either policy.
Variants§
Metadata
Structure, lengths and identities only.
Full
Explicit sensitive capture: exact input/UI text and provider stderr.
Trait Implementations§
Source§impl Clone for ContentPolicy
impl Clone for ContentPolicy
impl Copy for ContentPolicy
Source§impl Debug for ContentPolicy
impl Debug for ContentPolicy
Source§impl Default for ContentPolicy
impl Default for ContentPolicy
impl Eq for ContentPolicy
Source§impl PartialEq for ContentPolicy
impl PartialEq for ContentPolicy
impl StructuralPartialEq for ContentPolicy
Auto Trait Implementations§
impl Freeze for ContentPolicy
impl RefUnwindSafe for ContentPolicy
impl Send for ContentPolicy
impl Sync for ContentPolicy
impl Unpin for ContentPolicy
impl UnsafeUnpin for ContentPolicy
impl UnwindSafe for ContentPolicy
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