[][src]Trait sentry::integrations::failure::FailureHubExt

pub trait FailureHubExt {
    fn capture_error(&self, err: &Error) -> Uuid;
fn capture_fail<F>(&self, fail: &F) -> Uuid
    where
        F: Fail + ?Sized
; }

Hub extension methods for working with failure.

Required methods

fn capture_error(&self, err: &Error) -> Uuid

Captures a boxed failure (failure::Error).

fn capture_fail<F>(&self, fail: &F) -> Uuid where
    F: Fail + ?Sized

Captures a failure::Fail.

Loading content...

Implementors

impl FailureHubExt for Hub[src]

Loading content...