[−][src]Struct sentry_actix::SentryMiddleware
Reports certain failures to sentry.
Methods
impl SentryMiddleware
[src]
pub fn new() -> SentryMiddleware
[src]
Creates a new sentry middleware.
pub fn builder() -> SentryMiddlewareBuilder
[src]
Creates a new middleware builder.
pub fn into_builder(self) -> SentryMiddlewareBuilder
[src]
Converts the middleware into a builder.
Trait Implementations
impl Default for SentryMiddleware
[src]
impl<S: 'static> Middleware<S> for SentryMiddleware
[src]
fn start(&self, req: &HttpRequest<S>) -> Result<Started, Error>
[src]
fn response(
&self,
req: &HttpRequest<S>,
resp: HttpResponse
) -> Result<Response, Error>
[src]
&self,
req: &HttpRequest<S>,
resp: HttpResponse
) -> Result<Response, Error>
fn finish(&self, req: &HttpRequest<S>, _resp: &HttpResponse) -> Finished
[src]
Auto Trait Implementations
impl Send for SentryMiddleware
impl Sync for SentryMiddleware
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same for T
type Output = T
Should always be Self