pub struct GrantData<'a, T: 'a + ?Sized> { /* private fields */ }
Expand description

This GrantData object provides access to the memory allocated for a grant for a specific process.

The GrantData type is templated on T, the actual type of the object in the grant. GrantData holds a mutable reference to the type, allowing users access to the object in process memory.

Capsules gain access to a GrantData object by calling Grant::enter().

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

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.