pub enum ScrubMinidumpError {
InvalidMinidump(Error),
InvalidAddress,
OutOfRange,
Decoding,
}
Expand description
An error returned from PiiAttachmentsProcessor::scrub_minidump
.
Variants§
InvalidMinidump(Error)
Failed to parse open or parse the minidump.
InvalidAddress
The minidump contains an invalid memory address.
OutOfRange
Minidump offsets out of usize range.
Decoding
A UTF-8 or prefix string in the minidump could not be decoded.
Trait Implementations§
source§impl Debug for ScrubMinidumpError
impl Debug for ScrubMinidumpError
source§impl Display for ScrubMinidumpError
impl Display for ScrubMinidumpError
source§impl Error for ScrubMinidumpError
impl Error for ScrubMinidumpError
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 From<Error> for ScrubMinidumpError
impl From<Error> for ScrubMinidumpError
source§impl From<TryFromIntError> for ScrubMinidumpError
impl From<TryFromIntError> for ScrubMinidumpError
source§fn from(_source: TryFromIntError) -> Self
fn from(_source: TryFromIntError) -> Self
Converts to this type from the input type.
source§impl From<Utf16Error> for ScrubMinidumpError
impl From<Utf16Error> for ScrubMinidumpError
Auto Trait Implementations§
impl Freeze for ScrubMinidumpError
impl RefUnwindSafe for ScrubMinidumpError
impl Send for ScrubMinidumpError
impl Sync for ScrubMinidumpError
impl Unpin for ScrubMinidumpError
impl UnwindSafe for ScrubMinidumpError
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