Struct kernel::process::ProcessCustomGrantIdentifer[][src]

pub struct ProcessCustomGrantIdentifer { /* fields omitted */ }
Expand description

Opaque identifier for custom grants allocated dynamically from a process’s grant region.

This type allows Process to provide a handle to a custom grant within a process’s memory that ProcessGrant can use to access the custom grant memory later.

We use this type rather than a direct pointer so that any attempt to access can ensure the process still exists and is valid, and that the custom grant has not been freed.

The fields of this struct are private so only Process can create this identifier.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.