Struct kernel::process::ProcessCustomGrantIdentifier
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)