Modules§
Macros§
- ensure
- Ensure a condition is true. If it is not, return from the function with an error.
Structs§
- Backtrace
- A backtrace starting from the beginning of the thread.
- Closer
- Config
- Create
Tun - SNAFU context selector for the
TunError::CreateTunvariant - Packet
- Parse
Addr Fail - SNAFU context selector for the
TunError::ParseAddrFailvariant - PktWrite
Error - SNAFU context selector for the
TunError::PktWriteErrorvariant - Read
Error - SNAFU context selector for the
TunError::ReadErrorvariant - Reader
- RunShell
Error - SNAFU context selector for the
TunError::RunShellErrorvariant - Shell
Result Error - SNAFU context selector for the
TunError::ShellResultErrorvariant - Systun
- Write
Error - SNAFU context selector for the
TunError::WriteErrorvariant - Writer
Enums§
Traits§
- Error
Compat - Backports changes to the
Errortrait to versions of Rust lacking them. - Result
Ext - Additions to
Result.
Type Aliases§
Derive Macros§
- Snafu
- See the crate-level documentation for SNAFU which contains tested examples of this macro.