pub struct CheckBuilder<'l, 'a> { /* private fields */ }Expand description
Builder for check/uncheck operations with configurable options.
Created via Locator::check or Locator::uncheck.
Implementations§
Source§impl<'l, 'a> CheckBuilder<'l, 'a>
impl<'l, 'a> CheckBuilder<'l, 'a>
Sourcepub fn no_wait_after(self, no_wait_after: bool) -> Self
pub fn no_wait_after(self, no_wait_after: bool) -> Self
Whether to skip waiting for navigation after the check/uncheck.
Sourcepub async fn send(self) -> Result<(), LocatorError>
pub async fn send(self) -> Result<(), LocatorError>
Execute the check/uncheck operation.
Trait Implementations§
Source§impl<'l, 'a> Debug for CheckBuilder<'l, 'a>
impl<'l, 'a> Debug for CheckBuilder<'l, 'a>
Source§impl<'l> IntoFuture for CheckBuilder<'l, '_>
impl<'l> IntoFuture for CheckBuilder<'l, '_>
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CheckBuilder<'l, '_> as IntoFuture>::Output> + Send + 'l>>
type IntoFuture = Pin<Box<dyn Future<Output = <CheckBuilder<'l, '_> as IntoFuture>::Output> + Send + 'l>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'l, 'a> Freeze for CheckBuilder<'l, 'a>
impl<'l, 'a> !RefUnwindSafe for CheckBuilder<'l, 'a>
impl<'l, 'a> Send for CheckBuilder<'l, 'a>
impl<'l, 'a> Sync for CheckBuilder<'l, 'a>
impl<'l, 'a> Unpin for CheckBuilder<'l, 'a>
impl<'l, 'a> !UnwindSafe for CheckBuilder<'l, 'a>
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