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§
Sourcefn set_pid(&self, pid: NonZeroU32)
fn set_pid(&self, pid: NonZeroU32)
Sets the PID assigned to the client.
Sourcefn set_legacy_memberships(
&self,
legacy_memberships: LegacyGroups,
) -> Result<AsyncWorkCompletionWaiter, InvalidLegacyGroupsError>
fn set_legacy_memberships( &self, legacy_memberships: LegacyGroups, ) -> Result<AsyncWorkCompletionWaiter, InvalidLegacyGroupsError>
Sets the legacy multicast group memberships.