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ยง
Sourcefn capture_error(&self, err: &Error) -> Uuid
๐Deprecated: The failure
integration is deprecated and will be removed in the future.
fn capture_error(&self, err: &Error) -> Uuid
failure
integration is deprecated and will be removed in the future.Captures a boxed failure (failure::Error
).
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.