pub enum DatMiddlewareError {
Unauthorized(String),
Forbidden(String),
}Expand description
Errors from DAT middleware verification.
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for DatMiddlewareError
impl Debug for DatMiddlewareError
Source§impl IntoResponse for DatMiddlewareError
impl IntoResponse for DatMiddlewareError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for DatMiddlewareError
impl RefUnwindSafe for DatMiddlewareError
impl Send for DatMiddlewareError
impl Sync for DatMiddlewareError
impl Unpin for DatMiddlewareError
impl UnsafeUnpin for DatMiddlewareError
impl UnwindSafe for DatMiddlewareError
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