NetlinkClient

Trait NetlinkClient 

Source
pub trait NetlinkClient {
    // Required methods
    fn set_pid(&self, pid: NonZeroU32);
    fn set_legacy_memberships(
        &self,
        legacy_memberships: LegacyGroups,
    ) -> Result<AsyncWorkCompletionWaiter, InvalidLegacyGroupsError>;
}
Expand description

A client of a Netlink protocol family that supports common bind operations.

Required Methods§

Source

fn set_pid(&self, pid: NonZeroU32)

Sets the PID assigned to the client.

Source

fn set_legacy_memberships( &self, legacy_memberships: LegacyGroups, ) -> Result<AsyncWorkCompletionWaiter, InvalidLegacyGroupsError>

Sets the legacy multicast group memberships.

Implementors§