pub enum ErrorCause {
Worker(Error),
Query,
Header,
Json,
}
Expand description
All possible Error variants that may occur when working with worker_route
.
Variants§
Worker(Error)
Errors occured from worker::Error
Query
Errors occured from Query
Header
Errors occured from HttpHeaders
operations
Json
Errors occured from ResponseBuilder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorCause
impl !RefUnwindSafe for ErrorCause
impl !Send for ErrorCause
impl !Sync for ErrorCause
impl Unpin for ErrorCause
impl !UnwindSafe for ErrorCause
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