pub enum RecorderError {
InvalidJson,
InvalidBinary,
InvalidUtf8,
}Expand description
Error returned when recorder import fails.
Variants§
InvalidJson
JSON input does not match the recorder export shape.
InvalidBinary
Binary input has invalid magic or is truncated.
InvalidUtf8
A binary label was not valid UTF-8.
Trait Implementations§
Source§impl Clone for RecorderError
impl Clone for RecorderError
Source§fn clone(&self) -> RecorderError
fn clone(&self) -> RecorderError
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 RecorderError
Source§impl Debug for RecorderError
impl Debug for RecorderError
Source§impl Display for RecorderError
impl Display for RecorderError
impl Eq for RecorderError
Source§impl Error for RecorderError
impl Error for RecorderError
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 RecorderError
impl PartialEq for RecorderError
Source§fn eq(&self, other: &RecorderError) -> bool
fn eq(&self, other: &RecorderError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecorderError
Auto Trait Implementations§
impl Freeze for RecorderError
impl RefUnwindSafe for RecorderError
impl Send for RecorderError
impl Sync for RecorderError
impl Unpin for RecorderError
impl UnsafeUnpin for RecorderError
impl UnwindSafe for RecorderError
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