pub enum ParseRecordingError {
Parse(Error),
Compression(Error),
Message(&'static str),
}
Expand description
Error returned from RecordingScrubber
.
Variants§
Parse(Error)
An error parsing the JSON payload.
Compression(Error)
Invalid or broken compression.
Message(&'static str)
Validation of the payload failed.
The body is empty, is missing the headers, or the body.
Trait Implementations§
source§impl Debug for ParseRecordingError
impl Debug for ParseRecordingError
source§impl Display for ParseRecordingError
impl Display for ParseRecordingError
source§impl Error for ParseRecordingError
impl Error for ParseRecordingError
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()
Auto Trait Implementations§
impl Freeze for ParseRecordingError
impl !RefUnwindSafe for ParseRecordingError
impl Send for ParseRecordingError
impl Sync for ParseRecordingError
impl Unpin for ParseRecordingError
impl !UnwindSafe for ParseRecordingError
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