Rust

error

Module

The errors of encoding, decoding, resolving and serving DNS messages.

Contents

use utopia_dns::Error;
Rust
pub enum Error

Why an operation failed.

Messages are bytes: an error can quote a label or a record's data, which DNS does not require to be UTF-8. Display writes them lossily; Error::message returns them exactly.

Also implements Display, Error, From.