pub enum Handled<T> {
Yes,
No(T),
}Expand description
Return type from JrHandler; indicates whether the request was handled or not.
Variants§
Trait Implementations§
Source§impl<T> IntoHandled<T> for Handled<T>
impl<T> IntoHandled<T> for Handled<T>
Source§fn into_handled(self) -> Handled<T>
fn into_handled(self) -> Handled<T>
Convert this value into a
Handled<T>.Auto Trait Implementations§
impl<T> Freeze for Handled<T>where
T: Freeze,
impl<T> RefUnwindSafe for Handled<T>where
T: RefUnwindSafe,
impl<T> Send for Handled<T>where
T: Send,
impl<T> Sync for Handled<T>where
T: Sync,
impl<T> Unpin for Handled<T>where
T: Unpin,
impl<T> UnwindSafe for Handled<T>where
T: UnwindSafe,
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