Module sentry_rs::reactor [] [src]

Default implementation for DispatchRequest backed by an implicit event loop.

The purpose of this module is to enable the use of Sentry-RS without requiring any knowledge about tokio.

It does this by providing a simple structs RequestDispatcher, which can be plugged in anywhere.

These implementations are backed by an implicit event loop running on a background thread, so no manual event loop setup is required.

The implicit event loop is crated lazily on first use of these implementations, meaning that advanced users who wish to interface more directly with tokio can do so by using the otherwise provided implementations without causing any extra background threads or event loops to be spawned.

This file is mostly borrowed from Rusoto who is also licensed under MIT, and whose license is available: HERE

Structs

RequestDispatcher

A request dispatcher backed by an implicit event loop.

RequestDispatcherFuture

Future returned from RequestDispatcher.