pub struct RedactionInspectionError { /* private fields */ }Expand description
An inconclusive redaction inspection.
Callers must treat this error as potentially sensitive. The error exposes only bounded accounting and machine-readable reasons; it never retains the original input or a partial sensitivity result.
Implementations§
Source§impl RedactionInspectionError
impl RedactionInspectionError
Sourcepub const fn reasons(&self) -> RedactionReasons
pub const fn reasons(&self) -> RedactionReasons
Returns the machine-readable causes of incomplete inspection.
Sourcepub const fn usage(&self) -> RedactionUsage
pub const fn usage(&self) -> RedactionUsage
Returns resources consumed before the inspection became inconclusive.
Trait Implementations§
Source§impl Clone for RedactionInspectionError
impl Clone for RedactionInspectionError
Source§fn clone(&self) -> RedactionInspectionError
fn clone(&self) -> RedactionInspectionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RedactionInspectionError
Source§impl Debug for RedactionInspectionError
impl Debug for RedactionInspectionError
Source§impl Display for RedactionInspectionError
impl Display for RedactionInspectionError
impl Eq for RedactionInspectionError
Source§impl Error for RedactionInspectionError
impl Error for RedactionInspectionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RedactionInspectionError
impl PartialEq for RedactionInspectionError
impl StructuralPartialEq for RedactionInspectionError
Auto Trait Implementations§
impl Freeze for RedactionInspectionError
impl RefUnwindSafe for RedactionInspectionError
impl Send for RedactionInspectionError
impl Sync for RedactionInspectionError
impl Unpin for RedactionInspectionError
impl UnsafeUnpin for RedactionInspectionError
impl UnwindSafe for RedactionInspectionError
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