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