[][src]Trait sentry_actix::ActixWebHubExt

pub trait ActixWebHubExt {
    fn from_request<S>(req: &HttpRequest<S>) -> Arc<Hub>;
fn capture_actix_error(&self, err: &Error) -> Uuid; }

Hub extensions for actix.

Required Methods

Returns the hub from a given http request.

This requires that the SentryMiddleware middleware has been enabled or the call will panic.

Captures an actix error on the given hub.

Implementations on Foreign Types

impl ActixWebHubExt for Hub
[src]

Implementors