pub enum SchemeOutcome {
Handled(WebResourceResponse),
PassThrough,
}Expand description
Outcome of handling a scheme request.
Variants§
Handled(WebResourceResponse)
Handler produced a response.
PassThrough
Handler intentionally declined the request.
Trait Implementations§
Source§impl Debug for SchemeOutcome
impl Debug for SchemeOutcome
Source§impl From<Option<WebResourceResponse>> for SchemeOutcome
impl From<Option<WebResourceResponse>> for SchemeOutcome
Source§fn from(value: Option<WebResourceResponse>) -> Self
fn from(value: Option<WebResourceResponse>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SchemeOutcome
impl !UnwindSafe for SchemeOutcome
impl Freeze for SchemeOutcome
impl Send for SchemeOutcome
impl Sync for SchemeOutcome
impl Unpin for SchemeOutcome
impl UnsafeUnpin for SchemeOutcome
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