pub struct SetBypassServiceWorkerBuilder { /* private fields */ }Expand description
Builder for SetBypassServiceWorker.
Implementations§
Source§impl SetBypassServiceWorkerBuilder
impl SetBypassServiceWorkerBuilder
Sourcepub fn bypass<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn bypass<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Bypass service worker and load from network.
Sourcepub fn build(
&self,
) -> Result<SetBypassServiceWorker, SetBypassServiceWorkerBuilderError>
pub fn build( &self, ) -> Result<SetBypassServiceWorker, SetBypassServiceWorkerBuilderError>
Trait Implementations§
Source§impl Clone for SetBypassServiceWorkerBuilder
impl Clone for SetBypassServiceWorkerBuilder
Source§fn clone(&self) -> SetBypassServiceWorkerBuilder
fn clone(&self) -> SetBypassServiceWorkerBuilder
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 SetBypassServiceWorkerBuilder
impl RefUnwindSafe for SetBypassServiceWorkerBuilder
impl Send for SetBypassServiceWorkerBuilder
impl Sync for SetBypassServiceWorkerBuilder
impl Unpin for SetBypassServiceWorkerBuilder
impl UnsafeUnpin for SetBypassServiceWorkerBuilder
impl UnwindSafe for SetBypassServiceWorkerBuilder
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