pub trait Transport: Send + Sync + 'static {
fn send_event(&self, event: Event<'static>);
fn shutdown(&self, timeout: Duration) -> bool { ... }
}
Expand description
The trait for transports.
A transport is responsible for sending events to Sentry. Custom implementations can be created to use a different abstraction to send events. This is for instance used for the test system.
Required methods
fn send_event(&self, event: Event<'static>)
fn send_event(&self, event: Event<'static>)
Sends an event.