pub enum Outcome<B> {
Serve(CanonicalRequest<B>),
Deny(Denial),
}Expand description
What to do with a request the webview delivered.
Variants§
Serve(CanonicalRequest<B>)
Serve it: hand the inner request to the server.
Deny(Denial)
Refuse it, without troubling the server.
Trait Implementations§
Auto Trait Implementations§
impl<B> !Freeze for Outcome<B>
impl<B> !RefUnwindSafe for Outcome<B>
impl<B> !UnwindSafe for Outcome<B>
impl<B> Send for Outcome<B>where
B: Send,
impl<B> Sync for Outcome<B>where
B: Sync,
impl<B> Unpin for Outcome<B>where
B: Unpin,
impl<B> UnsafeUnpin for Outcome<B>where
B: UnsafeUnpin,
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