pub struct OpenMap { /* private fields */ }
Expand description

Represents a parsed but not yet loaded BPF map.

This object exposes operations that need to happen before the map is created.

Some methods require working with raw bytes. You may find libraries such as plain helpful.

Implementations

Reuse an fd for a BPF map

Reuse an already-pinned map for self.

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 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.