pub struct AttachToTargetBuilder { /* private fields */ }Expand description
Builder for AttachToTarget.
Implementations§
Source§impl AttachToTargetBuilder
impl AttachToTargetBuilder
pub fn target_id<VALUE: Into<TargetId>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn flatten<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn flatten<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Enables “flat” access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.
Sourcepub fn build(&self) -> Result<AttachToTarget, AttachToTargetBuilderError>
pub fn build(&self) -> Result<AttachToTarget, AttachToTargetBuilderError>
Trait Implementations§
Source§impl Clone for AttachToTargetBuilder
impl Clone for AttachToTargetBuilder
Source§fn clone(&self) -> AttachToTargetBuilder
fn clone(&self) -> AttachToTargetBuilder
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 AttachToTargetBuilder
impl RefUnwindSafe for AttachToTargetBuilder
impl Send for AttachToTargetBuilder
impl Sync for AttachToTargetBuilder
impl Unpin for AttachToTargetBuilder
impl UnsafeUnpin for AttachToTargetBuilder
impl UnwindSafe for AttachToTargetBuilder
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