pub enum Error<B: Body> {
Body(B::Error),
InvalidLine,
DuplicatedEventLine,
DuplicatedIdLine,
DuplicatedRetry,
Utf8Parse(Utf8Error),
IntParse(ParseIntError),
}Variants§
Body(B::Error)
InvalidLine
DuplicatedEventLine
DuplicatedIdLine
DuplicatedRetry
Utf8Parse(Utf8Error)
IntParse(ParseIntError)
Trait Implementations§
Source§impl<B: Body> Error for Error<B>
impl<B: Body> Error for Error<B>
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl<B> Freeze for Error<B>
impl<B> RefUnwindSafe for Error<B>
impl<B> Send for Error<B>
impl<B> Sync for Error<B>
impl<B> Unpin for Error<B>
impl<B> UnwindSafe for Error<B>
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