[−][src]Struct sqs_lambda::s3_event_emitter::S3EventEmitter
Methods
impl<S, F, OnEmission, EmissionResult> S3EventEmitter<S, F, OnEmission, EmissionResult> where
S: S3 + Send + 'static,
F: Fn(&[u8]) -> String,
EmissionResult: Future<Output = Result<(), Box<dyn Error + Send + Sync + 'static>>> + Send + 'static,
OnEmission: Fn(String, String) -> EmissionResult + Send + Sync + 'static,
[src]
S: S3 + Send + 'static,
F: Fn(&[u8]) -> String,
EmissionResult: Future<Output = Result<(), Box<dyn Error + Send + Sync + 'static>>> + Send + 'static,
OnEmission: Fn(String, String) -> EmissionResult + Send + Sync + 'static,
pub fn new(
s3: S,
output_bucket: impl Into<String>,
key_fn: F,
on_emission: OnEmission
) -> Self
[src]
s3: S,
output_bucket: impl Into<String>,
key_fn: F,
on_emission: OnEmission
) -> Self
Trait Implementations
impl<S: Clone, F: Clone, OnEmission: Clone, EmissionResult: Clone> Clone for S3EventEmitter<S, F, OnEmission, EmissionResult> where
S: S3 + Send + 'static,
F: Fn(&[u8]) -> String,
EmissionResult: Future<Output = Result<(), Box<dyn Error + Send + Sync + 'static>>> + Send + 'static,
OnEmission: Fn(String, String) -> EmissionResult + Send + Sync + 'static,
[src]
S: S3 + Send + 'static,
F: Fn(&[u8]) -> String,
EmissionResult: Future<Output = Result<(), Box<dyn Error + Send + Sync + 'static>>> + Send + 'static,
OnEmission: Fn(String, String) -> EmissionResult + Send + Sync + 'static,
fn clone(&self) -> S3EventEmitter<S, F, OnEmission, EmissionResult>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S, F, OnEmission, EmissionResult> EventEmitter for S3EventEmitter<S, F, OnEmission, EmissionResult> where
S: S3 + Send + Sync + 'static,
F: Fn(&[u8]) -> String + Send + Sync,
EmissionResult: Future<Output = Result<(), Box<dyn Error + Send + Sync + 'static>>> + Send + 'static,
OnEmission: Fn(String, String) -> EmissionResult + Send + Sync + 'static,
[src]
S: S3 + Send + Sync + 'static,
F: Fn(&[u8]) -> String + Send + Sync,
EmissionResult: Future<Output = Result<(), Box<dyn Error + Send + Sync + 'static>>> + Send + 'static,
OnEmission: Fn(String, String) -> EmissionResult + Send + Sync + 'static,
Auto Trait Implementations
impl<S, F, OnEmission, EmissionResult> RefUnwindSafe for S3EventEmitter<S, F, OnEmission, EmissionResult> where
F: RefUnwindSafe,
OnEmission: RefUnwindSafe,
S: RefUnwindSafe,
F: RefUnwindSafe,
OnEmission: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, F, OnEmission, EmissionResult> Send for S3EventEmitter<S, F, OnEmission, EmissionResult> where
F: Send,
F: Send,
impl<S, F, OnEmission, EmissionResult> Sync for S3EventEmitter<S, F, OnEmission, EmissionResult> where
F: Sync,
S: Sync,
F: Sync,
S: Sync,
impl<S, F, OnEmission, EmissionResult> Unpin for S3EventEmitter<S, F, OnEmission, EmissionResult> where
F: Unpin,
OnEmission: Unpin,
S: Unpin,
F: Unpin,
OnEmission: Unpin,
S: Unpin,
impl<S, F, OnEmission, EmissionResult> UnwindSafe for S3EventEmitter<S, F, OnEmission, EmissionResult> where
F: UnwindSafe,
OnEmission: UnwindSafe,
S: UnwindSafe,
F: UnwindSafe,
OnEmission: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,