pub struct GrantHandle { /* private fields */ }
Expand description

Handle to track a mapping created via a grant reference

Fields are private so that a handle cannot be constructed other than by map_grant_entry.

Implementations

Maps a new grant entry

Unmaps the mapped grant reference

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

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.