Expand description
Crate-wide definitions.
Re-exports
pub use anyhow::Context as _;
pub use crate::util::PathBufExt as _;
pub use crate::util::PathExt as _;
Macros
- Construct an ad-hoc error from a string or existing non-
anyhow
error value. - Return early with an error.
Structs
- The
Error
type, a wrapper around a dynamic error type. - A slice of a path (akin to
str
). - An owned, mutable path (akin to
String
).
Traits
- Simple and safe type conversions that may fail in a controlled way under some circumstances. It is the reciprocal of
TryInto
. - An attempted conversion that consumes
self
, which may or may not be expensive.
Type Definitions
Result<T, Error>