pub struct IntegrationLoggingHandler { /* private fields */ }Expand description
A handler that logs all integration events
Implementations§
Trait Implementations§
Source§impl IntegrationEventHandler for IntegrationLoggingHandler
impl IntegrationEventHandler for IntegrationLoggingHandler
Source§fn handle<'life0, 'async_trait>(
&'life0 self,
envelope: IntegrationEventEnvelope,
) -> Pin<Box<dyn Future<Output = Result<(), EventError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle<'life0, 'async_trait>(
&'life0 self,
envelope: IntegrationEventEnvelope,
) -> Pin<Box<dyn Future<Output = Result<(), EventError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle an integration event envelope Read more
Source§fn event_patterns(&self) -> Vec<&'static str>
fn event_patterns(&self) -> Vec<&'static str>
Event patterns this handler is interested in Read more
Source§fn should_retry(&self) -> bool
fn should_retry(&self) -> bool
Whether this handler should be retried on failure
Source§fn max_retries(&self) -> u32
fn max_retries(&self) -> u32
Maximum retry attempts
Auto Trait Implementations§
impl Freeze for IntegrationLoggingHandler
impl RefUnwindSafe for IntegrationLoggingHandler
impl Send for IntegrationLoggingHandler
impl Sync for IntegrationLoggingHandler
impl Unpin for IntegrationLoggingHandler
impl UnsafeUnpin for IntegrationLoggingHandler
impl UnwindSafe for IntegrationLoggingHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more