pub struct ProcessCustomGrantIdentifier { /* private fields */ }
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§
Source§impl Clone for ProcessCustomGrantIdentifier
impl Clone for ProcessCustomGrantIdentifier
Source§fn clone(&self) -> ProcessCustomGrantIdentifier
fn clone(&self) -> ProcessCustomGrantIdentifier
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ProcessCustomGrantIdentifier
Auto Trait Implementations§
impl Freeze for ProcessCustomGrantIdentifier
impl RefUnwindSafe for ProcessCustomGrantIdentifier
impl Send for ProcessCustomGrantIdentifier
impl Sync for ProcessCustomGrantIdentifier
impl Unpin for ProcessCustomGrantIdentifier
impl UnwindSafe for ProcessCustomGrantIdentifier
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