pub struct EmulationOption { /* private fields */ }Implementations§
Source§impl EmulationOption
impl EmulationOption
Sourcepub fn builder() -> EmulationOptionBuilder<((), (), (), ())>
pub fn builder() -> EmulationOptionBuilder<((), (), (), ())>
Create a builder for building EmulationOption.
On the builder, call .emulation(...)(optional), .emulation_os(...)(optional), .skip_http2(...)(optional), .skip_headers(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of EmulationOption.
Trait Implementations§
Source§impl Default for EmulationOption
impl Default for EmulationOption
Source§fn default() -> EmulationOption
fn default() -> EmulationOption
Returns the “default value” for a type. Read more
Source§impl EmulationProviderFactory for EmulationOption
======== EmulationOption impls ========
impl EmulationProviderFactory for EmulationOption
======== EmulationOption impls ========
Source§fn emulation(self) -> EmulationProvider
fn emulation(self) -> EmulationProvider
Provides an
EmulationProvider instance.Auto Trait Implementations§
impl Freeze for EmulationOption
impl RefUnwindSafe for EmulationOption
impl Send for EmulationOption
impl Sync for EmulationOption
impl Unpin for EmulationOption
impl UnwindSafe for EmulationOption
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