Docs.rs
  • shared_error-0.1.0
    • shared_error 0.1.0
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • github:facebook:cratesio-publish
    • meta-cratesio-bot
    • Dependencies
      • anyhow ^1.0.75 normal
      • slog ^2.7 normal
      • thiserror ^1.0.49 normal
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate shared_error

shared_error0.1.0

  • All Items

Crate Items

  • Modules

Crates

  • shared_error

Crate shared_error

Source
Expand description

Provided SharedError wrapper for cloneable Error.

Modules§

anyhow
Module containing SharedError that works well with anyhow::Error. Similarly to anyhow, it hiddes the underlyin Error type.
std
Module containing SharedError generic type that doesn’t work well with anyhow, but doesn’t hide the underlying error type.

Results

Settings
Help

Type "shared_error" not found. Showing results for closest type name "sharederror" instead.

    extern crate
    shared_error
    Provided SharedError wrapper for cloneable Error.
    trait method
    shared_error::anyhow::IntoSharedError::shared_error
    Method to convert std and anyhow Errors into SharedError.
    method
    shared_error::anyhow::SharedError::shared_error
    method
    shared_error::std::SharedError::shared_error
    struct
    shared_error::anyhow::SharedError
    SharedError is a simple, cloneable anyhow::Error wrapper. …
    struct
    shared_error::std::SharedError
    SharedError is a simple, cloneable Error wrapper. It holds …
    trait
    shared_error::anyhow::IntoSharedError
    Trait to convert std and anyhow Errors into SharedError.
    method
    shared_error::anyhow::SharedError::clone
    &SharedError -> SharedError
    method
    shared_error::anyhow::SharedError::inner
    &SharedError -> &Error
    Return reference to the inner Error.
    method
    shared_error::anyhow::SharedError::source
    &SharedError -> Option<&Error>
    method
    shared_error::anyhow::SharedError::fmt
    &SharedError, &mut Formatter -> Result
    method
    shared_error::std::SharedError::clone
    &SharedError<T> -> SharedError<T>
    method
    shared_error::std::SharedError::inner
    &SharedError<T> -> &T
    Return reference to the inner Error.
    method
    shared_error::std::SharedError::source
    &SharedError<T> -> Option<&Error>
    method
    shared_error::std::SharedError::fmt
    &SharedError<T>, &mut Formatter -> Result
    method
    shared_error::anyhow::SharedError::serialize
    &SharedError, &Record, &mut Serializer -> Result
    method
    shared_error::anyhow::SharedError::shared_error
    -> SharedError
    method
    shared_error::std::SharedError::shared_error
    -> SharedError
    method
    shared_error::anyhow::SharedError::from
    Arc<Error> -> SharedError
    method
    shared_error::anyhow::SharedError::new_arcederror
    Arc<Error> -> SharedError
    Creates a new arced error
    method
    shared_error::std::SharedError::from
    T -> SharedError<T>
    method
    shared_error::anyhow::SharedError::clone
    &SharedError -> SharedError
    method
    shared_error::std::SharedError::clone
    &SharedError<T> -> SharedError<T>