Enum perseus::errors::ErrorCause
source · [−]Expand description
Defines who caused an ambiguous error message so we can reliably create an HTTP status code. Specific status codes may be provided in either case, or the defaults (400 for client, 500 for server) will be used.
Variants
Client(Option<u16>)
Server(Option<u16>)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorCause
impl Send for ErrorCause
impl Sync for ErrorCause
impl Unpin for ErrorCause
impl UnwindSafe for ErrorCause
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more