[][src]Struct sqs_lambda::event_emitter::S3EventEmitter

pub struct S3EventEmitter<S, F> where
    S: S3 + Send + 'static,
    F: Fn(&[u8]) -> String
{ /* fields omitted */ }

Methods

impl<S, F> S3EventEmitter<S, F> where
    S: S3 + Send + 'static,
    F: Fn(&[u8]) -> String
[src]

pub fn new(s3: S, output_bucket: impl Into<String>, key_fn: F) -> Self[src]

Trait Implementations

impl<S: Clone, F: Clone> Clone for S3EventEmitter<S, F> where
    S: S3 + Send + 'static,
    F: Fn(&[u8]) -> String
[src]

impl<S, F> EventEmitter for S3EventEmitter<S, F> where
    S: S3 + Send + Sync + 'static,
    F: Fn(&[u8]) -> String + Send + Sync
[src]

type Event = Vec<u8>

type Error = Box<dyn Error>

Auto Trait Implementations

impl<S, F> RefUnwindSafe for S3EventEmitter<S, F> where
    F: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, F> Send for S3EventEmitter<S, F> where
    F: Send

impl<S, F> Sync for S3EventEmitter<S, F> where
    F: Sync,
    S: Sync

impl<S, F> Unpin for S3EventEmitter<S, F> where
    F: Unpin,
    S: Unpin

impl<S, F> UnwindSafe for S3EventEmitter<S, F> where
    F: UnwindSafe,
    S: UnwindSafe

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