pub struct NativeShareRequest { /* private fields */ }Expand description
Consuming boundary between common memory management and native transfer.
This type exposes no bytes and supports no growth. It keeps the requested one-writer permission plan attached until the caller enters the existing platform-specific authenticated transfer typestate.
Implementations§
Sourcepub const fn permissions(&self) -> PermissionPlan
pub const fn permissions(&self) -> PermissionPlan
Required creator/peer access assignment.
Sourcepub const fn seal_policy(&self) -> SealPolicy
pub const fn seal_policy(&self) -> SealPolicy
Mandatory native authority-sealing policy.
Sourcepub fn mapped_len(&self) -> usize
pub fn mapped_len(&self) -> usize
Complete native page-rounded mapping length.
Sourcepub fn into_platform_parts(self) -> (PlatformQuiescentRegion, PermissionPlan)
pub fn into_platform_parts(self) -> (PlatformQuiescentRegion, PermissionPlan)
Enters the platform authenticated transfer layer.
The returned permission plan must select the matching creator-writer or peer-writer consuming transition. Native code applies the actual seal or maximum-rights attenuation; safe code cannot disable the seal policy.
Trait Implementations§
Auto Trait Implementations§
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