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§
Auto Trait Implementations§
impl<'a, T> Freeze for GrantData<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for GrantData<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for GrantData<'a, T>
impl<'a, T> Sync for GrantData<'a, T>
impl<'a, T> Unpin for GrantData<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for GrantData<'a, T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more