pub enum InterceptResult<T: IntoResponse> {
Return(Response),
Drop,
Continue(Request<Incoming>),
Error(T),
}Variants§
Auto Trait Implementations§
impl<T> !Freeze for InterceptResult<T>
impl<T> !RefUnwindSafe for InterceptResult<T>
impl<T> Send for InterceptResult<T>where
T: Send,
impl<T> !Sync for InterceptResult<T>
impl<T> Unpin for InterceptResult<T>where
T: Unpin,
impl<T> !UnwindSafe for InterceptResult<T>
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