Module messaging

Module messaging 

Source
Expand description

A module for managing message passing between Netlink and its clients.

Structs§

NetlinkMessageWithCreds
Encapsulates NetlinkMessage with the credentials of the sender.
ParseError
An error observed when parsing a netlink message.
UnparsedNetlinkMessage
An unparsed netlink message backed by the bytes in B.

Enums§

Permission
A permission that is required from the sender when processing a netlink request.
ValidationError
The outcome of validating a netlink message.

Traits§

AccessControl
An object responsible to validating permissions for netlink clients.
MaybeParsedNetlinkMessage
A trait abstracting netlink messages that may already be parsed or still need to go through parsing.
MessageWithPermission
A message that may require special permissions from the sender to be processed.
NetlinkContext
A type capable of providing a concrete types used in Netlink.
Receiver
A type capable of receiving messages, M, from a client to Netlink.
Sender
A type capable of sending messages, M, from Netlink to a client.
UnvalidatedNetlinkMessage
A trait abstracting a yet unvalidated netlink message.