Enum WireLogError
pub enum WireLogError {
Io(Error),
Parse {
line: usize,
source: Error,
},
}Expand description
Error reading a JSONL wire log.
Variants§
Trait Implementations§
§impl Debug for WireLogError
impl Debug for WireLogError
§impl Display for WireLogError
impl Display for WireLogError
§impl Error for WireLogError
impl Error for WireLogError
§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()
§impl From<Error> for WireLogError
impl From<Error> for WireLogError
§fn from(source: Error) -> WireLogError
fn from(source: Error) -> WireLogError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WireLogError
impl !RefUnwindSafe for WireLogError
impl Send for WireLogError
impl Sync for WireLogError
impl Unpin for WireLogError
impl !UnwindSafe for WireLogError
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