sentry-rs 2.2.0

A Sentry Client for Rust Lang.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Used to export all the possible "Worker" types that can work on a Sentry Queue.
//! Right now there's only the "SingleWorker" which works on it's own single thread.
//! In the future though we might add in something like "MultiWorker" that allows you
//! to work on multiple threads at once.

/// The Trait for a Clojure being able to work on the Sentry Queue of events.
pub trait WorkerClosure<T, P>: Fn(&P, T) -> () + Send + Sync {}
impl<T, F, P> WorkerClosure<T, P> for F
where
  F: Fn(&P, T) -> () + Send + Sync,
{
}

pub mod single;