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::CreateTun
variant - Packet
- Parse
Addr Fail - SNAFU context selector for the
TunError::ParseAddrFail
variant - PktWrite
Error - SNAFU context selector for the
TunError::PktWriteError
variant - Read
Error - SNAFU context selector for the
TunError::ReadError
variant - Reader
- RunShell
Error - SNAFU context selector for the
TunError::RunShellError
variant - Shell
Result Error - SNAFU context selector for the
TunError::ShellResultError
variant - Systun
- Write
Error - SNAFU context selector for the
TunError::WriteError
variant - Writer
Enums§
Traits§
- Error
Compat - Backports changes to the
Error
trait 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.