pub struct ExposeDevToolsProtocolBuilder { /* private fields */ }Expand description
Builder for ExposeDevToolsProtocol.
Implementations§
Source§impl ExposeDevToolsProtocolBuilder
impl ExposeDevToolsProtocolBuilder
pub fn target_id<VALUE: Into<TargetId>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn binding_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn binding_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Binding name, ‘cdp’ if not specified.
Sourcepub fn inherit_permissions<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn inherit_permissions<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
If true, inherits the current root session’s permissions (default: false).
Sourcepub fn build(
&self,
) -> Result<ExposeDevToolsProtocol, ExposeDevToolsProtocolBuilderError>
pub fn build( &self, ) -> Result<ExposeDevToolsProtocol, ExposeDevToolsProtocolBuilderError>
Trait Implementations§
Source§impl Clone for ExposeDevToolsProtocolBuilder
impl Clone for ExposeDevToolsProtocolBuilder
Source§fn clone(&self) -> ExposeDevToolsProtocolBuilder
fn clone(&self) -> ExposeDevToolsProtocolBuilder
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 ExposeDevToolsProtocolBuilder
impl RefUnwindSafe for ExposeDevToolsProtocolBuilder
impl Send for ExposeDevToolsProtocolBuilder
impl Sync for ExposeDevToolsProtocolBuilder
impl Unpin for ExposeDevToolsProtocolBuilder
impl UnsafeUnpin for ExposeDevToolsProtocolBuilder
impl UnwindSafe for ExposeDevToolsProtocolBuilder
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