Enum libafl::Error[][src]

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

Serialization error

Tuple Fields of Serialize

0: String
Compression

Compression error

File

File related error

Tuple Fields of File

0: Error
EmptyOptional

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

Tuple Fields of EmptyOptional

0: String
KeyNotFound

Key not in Map

Tuple Fields of KeyNotFound

0: String
Empty

No elements in the current item

Tuple Fields of Empty

0: String
IteratorEnd

End of iteration

Tuple Fields of IteratorEnd

0: String
NotImplemented

This is not supported (yet)

Tuple Fields of NotImplemented

0: String
IllegalState

You’re holding it wrong

Tuple Fields of IllegalState

0: String
IllegalArgument

The argument passed to this method or function is not valid

Tuple Fields of IllegalArgument

0: String
Forkserver

Forkserver related Error

Tuple Fields of Forkserver

0: String
MOpt

MOpt related Error

Tuple Fields of MOpt

0: String
ShuttingDown

Shutting down, not really an error.

Unknown

Something else happened

Tuple Fields of Unknown

0: String

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Stringify the postcard serializer error

Performs the conversion.

Stringify the json serializer error

Performs the conversion.

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.