pub struct SetRequestInterceptionBuilder { /* private fields */ }Expand description
Builder for SetRequestInterception.
Implementations§
Source§impl SetRequestInterceptionBuilder
impl SetRequestInterceptionBuilder
Sourcepub fn patterns<VALUE: Into<Vec<RequestPattern>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn patterns<VALUE: Into<Vec<RequestPattern>>>( &mut self, value: VALUE, ) -> &mut Self
Requests matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call.
Sourcepub fn build(
&self,
) -> Result<SetRequestInterception, SetRequestInterceptionBuilderError>
pub fn build( &self, ) -> Result<SetRequestInterception, SetRequestInterceptionBuilderError>
Trait Implementations§
Source§impl Clone for SetRequestInterceptionBuilder
impl Clone for SetRequestInterceptionBuilder
Source§fn clone(&self) -> SetRequestInterceptionBuilder
fn clone(&self) -> SetRequestInterceptionBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SetRequestInterceptionBuilder
impl RefUnwindSafe for SetRequestInterceptionBuilder
impl Send for SetRequestInterceptionBuilder
impl Sync for SetRequestInterceptionBuilder
impl Unpin for SetRequestInterceptionBuilder
impl UnsafeUnpin for SetRequestInterceptionBuilder
impl UnwindSafe for SetRequestInterceptionBuilder
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