[][src]Struct sqs_lambda::S3EventRetriever

pub struct S3EventRetriever<S, D, P, E> where
    S: S3 + Send + 'static,
    P: Fn(String) -> Result<S3Event, Error> + Clone,
    D: EventDecoder<E> + Clone
{ /* fields omitted */ }

Methods

impl<S, D, P, E> S3EventRetriever<S, D, P, E> where
    S: S3 + Send + 'static,
    P: Fn(String) -> Result<S3Event, Error> + Clone,
    D: EventDecoder<E> + Clone
[src]

pub fn new(s3_client: Arc<S>, sqs_parser: P, decoder: D) -> Self[src]

Trait Implementations

impl<S, D, P, E> EventRetriever<E> for S3EventRetriever<S, D, P, E> where
    S: S3 + Send + 'static,
    P: Fn(String) -> Result<S3Event, Error> + Clone,
    D: EventDecoder<E> + Clone
[src]

impl<S, D, P, E> Clone for S3EventRetriever<S, D, P, E> where
    S: S3 + Send + 'static,
    P: Fn(String) -> Result<S3Event, Error> + Clone,
    D: EventDecoder<E> + Clone
[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<S, D, P, E> Send for S3EventRetriever<S, D, P, E> where
    D: Send,
    E: Send,
    P: Send,
    S: Sync

impl<S, D, P, E> Sync for S3EventRetriever<S, D, P, E> where
    D: Sync,
    E: Sync,
    P: Sync,
    S: Sync

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self