[][src]Struct coldsnap::SnapshotWaiter

pub struct SnapshotWaiter { /* fields omitted */ }

Allows you to wait for snapshots to come to a desired state in the region associated with the given Ec2Client.

Implementations

impl SnapshotWaiter[src]

pub fn new(ec2_client: Ec2Client) -> Self[src]

pub async fn wait_for_completed<S, '_>(
    &'_ self,
    snapshot_id: S
) -> Result<(), Error> where
    S: AsRef<str>, 
[src]

Waits for the given snapshot ID to be completed.

pub async fn wait<S, '_>(
    &'_ self,
    snapshot_id: S,
    wait_params: WaitParams
) -> Result<(), Error> where
    S: AsRef<str>, 
[src]

Waits for the given snapshot ID to move to the given state, with configurable number of attempts and number of successful checks in a row.

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,