Struct openstack::common::DeletionWaiter
source · pub struct DeletionWaiter<T> { /* private fields */ }
Expand description
Wait for resource deletion.
Trait Implementations
sourceimpl<T: Debug> Debug for DeletionWaiter<T>
impl<T: Debug> Debug for DeletionWaiter<T>
sourceimpl<T: Refresh + Debug> Waiter<(), Error> for DeletionWaiter<T>
impl<T: Refresh + Debug> Waiter<(), Error> for DeletionWaiter<T>
sourcefn default_wait_timeout(&self) -> Option<Duration>
fn default_wait_timeout(&self) -> Option<Duration>
Default timeout for this action. Read more
sourcefn default_delay(&self) -> Duration
fn default_delay(&self) -> Duration
Default delay between two retries.
sourcefn timeout_error(&self) -> Error
fn timeout_error(&self) -> Error
Error to return on timeout.
sourcefn wait_for(self, duration: Duration) -> Result<T, E>where
Self: Sized,
fn wait_for(self, duration: Duration) -> Result<T, E>where
Self: Sized,
Wait for specified amount of time. Read more
sourcefn wait_for_with_delay(self, duration: Duration, delay: Duration) -> Result<T, E>where
Self: Sized,
fn wait_for_with_delay(self, duration: Duration, delay: Duration) -> Result<T, E>where
Self: Sized,
Wait for specified amount of time.
sourcefn wait_forever(self) -> Result<T, E>where
Self: Sized,
fn wait_forever(self) -> Result<T, E>where
Self: Sized,
Wait forever.
sourcefn wait_forever_with_delay(self, delay: Duration) -> Result<T, E>where
Self: Sized,
fn wait_forever_with_delay(self, delay: Duration) -> Result<T, E>where
Self: Sized,
Wait forever with given delay between attempts.
sourceimpl<T> WaiterCurrentState<T> for DeletionWaiter<T>
impl<T> WaiterCurrentState<T> for DeletionWaiter<T>
sourcefn waiter_current_state(&self) -> &T
fn waiter_current_state(&self) -> &T
Get the current representation of the resource. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for DeletionWaiter<T>where
T: RefUnwindSafe,
impl<T> Send for DeletionWaiter<T>where
T: Send,
impl<T> Sync for DeletionWaiter<T>where
T: Sync,
impl<T> Unpin for DeletionWaiter<T>where
T: Unpin,
impl<T> UnwindSafe for DeletionWaiter<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more