[][src]Struct meilisearch_sdk::progress::Progress

pub struct Progress<'a> { /* fields omitted */ }

A struct used to track the progress of some async operations.

Implementations

impl<'a> Progress<'a>[src]

pub async fn get_status<'_>(&'_ self) -> Result<Status, Error>[src]

Example

let client = Client::new("http://localhost:7700", "masterKey");
let mut movies_index = client.get_or_create("movies").await.unwrap();
let progress = movies_index.delete_all_documents().await.unwrap();
let status = progress.get_status().await.unwrap();

Auto Trait Implementations

impl<'a> RefUnwindSafe for Progress<'a>

impl<'a> Send for Progress<'a>

impl<'a> Sync for Progress<'a>

impl<'a> Unpin for Progress<'a>

impl<'a> UnwindSafe for Progress<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.