Struct chrome_remote_interface_model::fetch::EnableCommand[][src]

pub struct EnableCommand { /* fields omitted */ }

Enables issuing of requestPaused events. A request will be paused until client calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.

Implementations

impl EnableCommand[src]

pub fn new(
    patterns: Option<Vec<RequestPattern>>,
    handle_auth_requests: Option<bool>
) -> Self
[src]

pub fn patterns(&self) -> Option<&Vec<RequestPattern>>[src]

If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.

pub fn handle_auth_requests(&self) -> Option<&bool>[src]

If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.

Trait Implementations

impl Clone for EnableCommand[src]

impl Command for EnableCommand[src]

type Return = EnableReturn

Return type.

impl Debug for EnableCommand[src]

impl<'de> Deserialize<'de> for EnableCommand[src]

impl Serialize for EnableCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.