pub struct WebError { /* private fields */ }Expand description
A WebError represents an error result produced by a function execution.
Functionally, it is also just an HTTP response - however, this allows for writing
functions with a return signature of WebResult if you are okay with all errors
being converted to 500s and returned in the body.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebError
impl !RefUnwindSafe for WebError
impl !Send for WebError
impl !Sync for WebError
impl Unpin for WebError
impl !UnwindSafe for WebError
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