[][src]Struct sqs_lambda::SnsEventRetriever

pub struct SnsEventRetriever<D, E, P> where
    D: EventDecoder<E> + Clone,
    P: Fn(String) -> Result<SnsEntity, Error> + Clone
{ /* fields omitted */ }

Methods

impl<D, E, P> SnsEventRetriever<D, E, P> where
    D: EventDecoder<E> + Clone,
    P: Fn(String) -> Result<SnsEntity, Error> + Clone
[src]

pub fn new(parser: P, decoder: D) -> Self[src]

Trait Implementations

impl<D, E, P> EventRetriever<E> for SnsEventRetriever<D, E, P> where
    D: EventDecoder<E> + Clone,
    P: Fn(String) -> Result<SnsEntity, Error> + Clone
[src]

impl<D: Clone, E: Clone, P: Clone> Clone for SnsEventRetriever<D, E, P> where
    D: EventDecoder<E> + Clone,
    P: Fn(String) -> Result<SnsEntity, Error> + Clone
[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<D, E, P> Send for SnsEventRetriever<D, E, P> where
    D: Send,
    E: Send,
    P: Send

impl<D, E, P> Unpin for SnsEventRetriever<D, E, P> where
    D: Unpin,
    E: Unpin,
    P: Unpin

impl<D, E, P> Sync for SnsEventRetriever<D, E, P> where
    D: Sync,
    E: Sync,
    P: Sync

impl<D, E, P> UnwindSafe for SnsEventRetriever<D, E, P> where
    D: UnwindSafe,
    E: UnwindSafe,
    P: UnwindSafe

impl<D, E, P> RefUnwindSafe for SnsEventRetriever<D, E, P> where
    D: RefUnwindSafe,
    E: RefUnwindSafe,
    P: RefUnwindSafe

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self