pub unsafe trait EventGroupHandle {
    type System: KernelEventGroup;

    unsafe fn from_id(
        id: <Self::System as KernelEventGroup>::RawEventGroupId
    ) -> Self; fn id(&self) -> <Self::System as KernelEventGroup>::RawEventGroupId; fn borrow(&self) -> EventGroupRef<'_, Self::System>; }
Expand description

The trait for safe wrappers of System::RawEventGroupId, i.e., EventGroup and EventGroupRef.

Required Associated Types

The system type this object pertains to.

Required Methods

Construct a EventGroup from RawEventGroupId.

Safety

This function is marked as unsafe to prevent safe code from compromising object safety.

Get the raw RawEventGroupId value representing this object.

Implementors