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

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

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

Methods

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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

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

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

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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<T> Borrow for T where
    T: ?Sized
[src]

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

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

impl<T> Same for T

type Output = T

Should always be Self

impl<T> Erased for T