pub struct IndexTask { /* private fields */ }Expand description
Struct for querying index creation status
Implementations§
Trait Implementations§
Source§impl Task for IndexTask
impl Task for IndexTask
Source§fn query_status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Status, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
IndexTask: 'async_trait,
fn query_status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Status, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
IndexTask: 'async_trait,
Query the status of index creation across all nodes
Source§fn wait_till_complete<'life0, 'async_trait>(
&'life0 self,
timeout: Option<Duration>,
) -> Pin<Box<dyn Future<Output = Result<Status, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn wait_till_complete<'life0, 'async_trait>(
&'life0 self,
timeout: Option<Duration>,
) -> Pin<Box<dyn Future<Output = Result<Status, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
Wait until query status is complete, an error occurs, or the timeout has elapsed.
Auto Trait Implementations§
impl Freeze for IndexTask
impl !RefUnwindSafe for IndexTask
impl Send for IndexTask
impl Sync for IndexTask
impl Unpin for IndexTask
impl UnsafeUnpin for IndexTask
impl !UnwindSafe for IndexTask
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