Docs.rs
witcher-0.1.19
witcher 0.1.19
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
phR0ze
Dependencies
backtrace 0.3.*
normal
gory 0.1.*
normal
Versions
94.44%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
witcher
0.1.19
All Items
Crate Items
Modules
Macros
Structs
Traits
Type Aliases
Crate
witcher
Copy item path
Source
Modules
§
prelude
Import all essential symbols in a simple consumable way
Macros
§
bail
Bail early from a function with an
Error
.
err
err!
works just like
bail!
but doesn’t return
match_
err
Match on error types. This only works with errors implementing the
std::error::Error
trait as it makes use of the standard
is
and
downcast_ref
implementations.
wrap
wrap!
behaves much like the venerable
bail!
but wraps an external error
Structs
§
Error
Error
is a wrapper providing additional context and chaining of errors.
Traits
§
Wrapper
Define the
wrap
function for Result types
Type Aliases
§
Result
Result<T>
is a simplified return type to use throughout your application.