pub struct ErrorProtocolSnapshot {
pub identity: ErrorIdentity,
pub decision: ExposureDecision,
pub report: DiagnosticReport,
}Fields§
§identity: ErrorIdentity§decision: ExposureDecision§report: DiagnosticReportImplementations§
Source§impl ErrorProtocolSnapshot
impl ErrorProtocolSnapshot
pub fn from_report( report: DiagnosticReport, identity: ErrorIdentity, exposure_policy: &impl ExposurePolicy, ) -> Self
pub fn render_user_debug(&self) -> String
pub fn render_user_debug_redacted( &self, redact_policy: &impl RedactPolicy, ) -> String
pub fn redacted(&self, policy: &impl RedactPolicy) -> Self
Trait Implementations§
Source§impl Clone for ErrorProtocolSnapshot
impl Clone for ErrorProtocolSnapshot
Source§fn clone(&self) -> ErrorProtocolSnapshot
fn clone(&self) -> ErrorProtocolSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorProtocolSnapshot
impl Debug for ErrorProtocolSnapshot
Source§impl PartialEq for ErrorProtocolSnapshot
impl PartialEq for ErrorProtocolSnapshot
impl StructuralPartialEq for ErrorProtocolSnapshot
Auto Trait Implementations§
impl Freeze for ErrorProtocolSnapshot
impl RefUnwindSafe for ErrorProtocolSnapshot
impl Send for ErrorProtocolSnapshot
impl Sync for ErrorProtocolSnapshot
impl Unpin for ErrorProtocolSnapshot
impl UnsafeUnpin for ErrorProtocolSnapshot
impl UnwindSafe for ErrorProtocolSnapshot
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