pub enum Error {
Show 14 variants Serialize(String), Compression, File(Error), EmptyOptional(String), KeyNotFound(String), Empty(String), IteratorEnd(String), NotImplemented(String), IllegalState(String), IllegalArgument(String), Forkserver(String), MOpt(String), ShuttingDown, Unknown(String),
}
Expand description

Main error struct for AFL

Variants

Serialize(String)

Tuple Fields

0: String

Serialization error

Compression

Compression error

File(Error)

Tuple Fields

0: Error

File related error

EmptyOptional(String)

Tuple Fields

0: String

Optional val was supposed to be set, but isn’t.

KeyNotFound(String)

Tuple Fields

0: String

Key not in Map

Empty(String)

Tuple Fields

0: String

No elements in the current item

IteratorEnd(String)

Tuple Fields

0: String

End of iteration

NotImplemented(String)

Tuple Fields

0: String

This is not supported (yet)

IllegalState(String)

Tuple Fields

0: String

You’re holding it wrong

IllegalArgument(String)

Tuple Fields

0: String

The argument passed to this method or function is not valid

Forkserver(String)

Tuple Fields

0: String

Forkserver related Error

MOpt(String)

Tuple Fields

0: String

MOpt related Error

ShuttingDown

Shutting down, not really an error.

Unknown(String)

Tuple Fields

0: String

Something else happened

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Stringify the postcard serializer error

Performs the conversion.

Stringify the json serializer error

Performs the conversion.

Create an AFL Error from io Error

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

Prepend a value to this tuple, returning a new tuple with prepended value.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.