Struct libafl::bolts::serdeany::serdeany_registry::NamedSerdeAnyMap[][src]

pub struct NamedSerdeAnyMap { /* fields omitted */ }
Expand description

A serializable HashMap wrapper for SerdeAny types, addressable by name.

Implementations

Get an element by name

Get an element of a given type contained in this map by TypeId.

Get an element of a given type contained in this map by TypeId, as mut.

Get an element of a given type contained in this map by TypeId, as mut.

Get all elements of a type contained in this map.

Get all elements of a given type contained in this map by TypeId.

Get all elements contained in this map, as mut.

Get all TypeIds contained in this map, as mut.

Get all TypeIds contained in this map.

Run func for each element in this map.

Run func for each element in this map, getting a mutable borrow.

Insert an element into this map.

Returns the len of this map.

Returns true if this map is empty.

Returns if the element with a given type is contained in this map.

Returns if the element by a given name is contained in this map.

Create a new SerdeAny map.

Trait Implementations

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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

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.