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

A pollable AF_XDP Socket file descriptor.

Implementations

Returns Socket statistics.

Trait Implementations

The inner file descriptor.

May be required, for example, in the case where the default libbpf program has not been loaded (using the XSK_LIBBPF_FLAGS_INHIBIT_PROG_LOAD flag) and the socket’s file descriptor must be available to register it in the XSKMAP.

Formats the value using the given formatter. 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

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.