pub enum Error {
Show 13 variants Serialize(StringErrorBacktrace), Compression(ErrorBacktrace), File(ErrorErrorBacktrace), EmptyOptional(StringErrorBacktrace), KeyNotFound(StringErrorBacktrace), Empty(StringErrorBacktrace), IteratorEnd(StringErrorBacktrace), NotImplemented(StringErrorBacktrace), IllegalState(StringErrorBacktrace), IllegalArgument(StringErrorBacktrace), Unsupported(StringErrorBacktrace), ShuttingDown, Unknown(StringErrorBacktrace),
}
Expand description

Main error struct for LibAFL

Variants

Serialize(StringErrorBacktrace)

Serialization error

Compression(ErrorBacktrace)

Compression error

File(ErrorErrorBacktrace)

File related error

EmptyOptional(StringErrorBacktrace)

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

KeyNotFound(StringErrorBacktrace)

Key not in Map

Empty(StringErrorBacktrace)

No elements in the current item

IteratorEnd(StringErrorBacktrace)

End of iteration

NotImplemented(StringErrorBacktrace)

This is not supported (yet)

IllegalState(StringErrorBacktrace)

You’re holding it wrong

IllegalArgument(StringErrorBacktrace)

The argument passed to this method or function is not valid

Unsupported(StringErrorBacktrace)

The performed action is not supported on the current platform

ShuttingDown

Shutting down, not really an error.

Unknown(StringErrorBacktrace)

Something else happened

Implementations

Serialization error

Compression error

File related error

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

Key not in Map

No elements in the current item

End of iteration

This is not supported (yet)

You’re holding it wrong

The argument passed to this method or function is not valid

Shutting down, not really an error.

This operation is not supported on the current architecture or platform

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
👎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
🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
Converts to this type from the input type.

Stringify the postcard serializer error

Converts to this type from the input type.

Stringify the json serializer error

Converts to this type from the input type.

Create an AFL Error from io Error

Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.
🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
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.