FailureHubExt

Trait FailureHubExt 

Source
pub trait FailureHubExt {
    // Required methods
    fn capture_error(&self, err: &Error) -> Uuid;
    fn capture_fail<F: Fail + ?Sized>(&self, fail: &F) -> Uuid;
}
๐Ÿ‘Ž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: Fail + ?Sized>(&self, fail: &F) -> Uuid

๐Ÿ‘Ž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.

Implementations on Foreign Typesยง

Sourceยง

impl FailureHubExt for Hub

Sourceยง

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

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

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

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

Implementorsยง