[][src]Struct dynomite::retry::RetryingDynamoDb

pub struct RetryingDynamoDb<D> { /* fields omitted */ }

A type which implements DynamoDb and retries all operations that are retryable

Implementations

impl<D> RetryingDynamoDb<D> where
    D: DynamoDb + 'static, 
[src]

pub fn new(client: D, policy: Policy) -> Self[src]

Return a new instance with a configured retry policy

Trait Implementations

impl<D: Clone> Clone for RetryingDynamoDb<D>[src]

impl<D> DynamoDb for RetryingDynamoDb<D> where
    D: DynamoDb + Sync + Send + Clone + 'static, 
[src]

Auto Trait Implementations

impl<D> RefUnwindSafe for RetryingDynamoDb<D> where
    D: RefUnwindSafe

impl<D> Send for RetryingDynamoDb<D> where
    D: Send + Sync

impl<D> Sync for RetryingDynamoDb<D> where
    D: Send + Sync

impl<D> Unpin for RetryingDynamoDb<D>

impl<D> UnwindSafe for RetryingDynamoDb<D> where
    D: RefUnwindSafe

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<D> Retries<D> for D where
    D: DynamoDb + 'static, 
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,