[][src]Struct sqs_lambda::event_retriever::S3PayloadRetriever

pub struct S3PayloadRetriever<S, SInit, D, E> where
    S: S3 + Clone + Send + Sync + 'static,
    SInit: Fn(String) -> S + Clone + Send + Sync + 'static,
    D: PayloadDecoder<E> + Clone + Send + 'static,
    E: Send + 'static, 
{ /* fields omitted */ }

Implementations

impl<S, SInit, D, E> S3PayloadRetriever<S, SInit, D, E> where
    S: S3 + Clone + Send + Sync + 'static,
    SInit: Fn(String) -> S + Clone + Send + Sync + 'static,
    D: PayloadDecoder<E> + Clone + Send + 'static,
    E: Send + 'static, 
[src]

pub fn new(s3: SInit, decoder: D) -> Self[src]

pub fn get_client(&mut self, region: String) -> S[src]

Trait Implementations

impl<S: Clone, SInit: Clone, D: Clone, E: Clone> Clone for S3PayloadRetriever<S, SInit, D, E> where
    S: S3 + Clone + Send + Sync + 'static,
    SInit: Fn(String) -> S + Clone + Send + Sync + 'static,
    D: PayloadDecoder<E> + Clone + Send + 'static,
    E: Send + 'static, 
[src]

impl<S, SInit, D, E> PayloadRetriever<E> for S3PayloadRetriever<S, SInit, D, E> where
    S: S3 + Clone + Send + Sync + 'static,
    SInit: Fn(String) -> S + Clone + Send + Sync + 'static,
    D: PayloadDecoder<E> + Clone + Send + 'static,
    E: Send + 'static, 
[src]

type Message = SqsMessage

Auto Trait Implementations

impl<S, SInit, D, E> RefUnwindSafe for S3PayloadRetriever<S, SInit, D, E> where
    D: RefUnwindSafe,
    E: RefUnwindSafe,
    S: RefUnwindSafe,
    SInit: RefUnwindSafe

impl<S, SInit, D, E> Send for S3PayloadRetriever<S, SInit, D, E>

impl<S, SInit, D, E> Sync for S3PayloadRetriever<S, SInit, D, E> where
    D: Sync,
    E: Sync

impl<S, SInit, D, E> Unpin for S3PayloadRetriever<S, SInit, D, E> where
    D: Unpin,
    E: Unpin,
    S: Unpin,
    SInit: Unpin

impl<S, SInit, D, E> UnwindSafe for S3PayloadRetriever<S, SInit, D, E> where
    D: UnwindSafe,
    E: UnwindSafe,
    S: UnwindSafe,
    SInit: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<D> OwoColorize for D

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> WithSubscriber for T[src]