pub struct RedactedSchemaValue<'a>(/* private fields */);Expand description
Wraps a SchemaValue so its Debug output redacts every host-managed
capability node (see HostManagedKind).
Use this at tracing / diagnostic / error-formatting boundaries that would
otherwise dump raw capability references or lease snapshots into logs. The
derived Debug of SchemaValue is left untouched so internal code can
still inspect raw values; redaction is opt-in at the observability boundary.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RedactedSchemaValue<'a>
impl<'a> RefUnwindSafe for RedactedSchemaValue<'a>
impl<'a> Send for RedactedSchemaValue<'a>
impl<'a> Sync for RedactedSchemaValue<'a>
impl<'a> Unpin for RedactedSchemaValue<'a>
impl<'a> UnsafeUnpin for RedactedSchemaValue<'a>
impl<'a> UnwindSafe for RedactedSchemaValue<'a>
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