FailureHubExt

Trait FailureHubExt 

Source
pub trait FailureHubExt {
    // Required methods
    fn capture_error(&self, err: &Error) -> Uuid;
    fn capture_fail<F>(&self, fail: &F) -> Uuid
       where F: Fail + ?Sized;
}
๐Ÿ‘ŽDeprecated: The failure integration is deprecated and will be removed in the future.
Expand description

Hub extension methods for working with failure.

Required Methodsยง

Source

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

๐Ÿ‘ŽDeprecated: The failure integration is deprecated and will be removed in the future.

Captures a boxed failure (failure::Error).

Source

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

๐Ÿ‘ŽDeprecated: The failure integration is deprecated and will be removed in the future.

Captures a failure::Fail.

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementorsยง