Struct lrs::netlink::Proto

A Netlink protocol.

Syntax

struct Proto(i32)

Fields

PositionDescription
1

The integer constant associated with the protocol.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Debug

Objects that can be formatted in a "debug" form.

Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.

Pod

Objects that are safe to use if they contain a random bit pattern.

Remarks

See lrs::socket::netlink::proto for pre-defined constants.

See also