Struct openstack::waiter::DeletionWaiter
source · pub struct DeletionWaiter<T> { /* private fields */ }
Expand description
Wait for resource deletion.
Implementations§
source§impl<T> DeletionWaiter<T>
impl<T> DeletionWaiter<T>
sourcepub fn current_state(&self) -> &T
pub fn current_state(&self) -> &T
Current state of the resource inside the waiter.
Trait Implementations§
source§impl<T: Debug> Debug for DeletionWaiter<T>
impl<T: Debug> Debug for DeletionWaiter<T>
source§impl<T: Refresh + Debug + Send> Waiter<(), Error> for DeletionWaiter<T>
impl<T: Refresh + Debug + Send> Waiter<(), Error> for DeletionWaiter<T>
source§fn default_delay(&self) -> Duration
fn default_delay(&self) -> Duration
Default delay between two retries.
source§fn timeout_error(&self) -> Error
fn timeout_error(&self) -> Error
Error to return on timeout.
source§fn poll<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<()>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn poll<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<()>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Update the current state of the action. Read more
source§fn wait<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait, Global>>where
Self: Sized + Send + 'async_trait,
fn wait<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait, Global>>where Self: Sized + Send + 'async_trait,
Wait for the default amount of time. Read more
source§fn wait_for<'async_trait>(
self,
duration: Duration
) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait, Global>>where
Self: Sized + Send + 'async_trait,
fn wait_for<'async_trait>( self, duration: Duration ) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait, Global>>where Self: Sized + Send + 'async_trait,
Wait for specified amount of time. Read more
source§fn wait_for_with_delay<'async_trait>(
self,
duration: Duration,
delay: Duration
) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait, Global>>where
Self: Sized + Send + 'async_trait,
fn wait_for_with_delay<'async_trait>( self, duration: Duration, delay: Duration ) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait, Global>>where Self: Sized + Send + 'async_trait,
Wait for specified amount of time.