pub struct PreparedRegion { /* private fields */ }Expand description
Opaque prepared native object awaiting ownership by one transfer batch.
This state has no payload access, cloning, or raw native-parts operation.
ⓘ
use native_ipc::region::PreparedRegion;
fn access(pending: &PreparedRegion) { let _ = pending.read_into(0, &mut []); }Implementations§
Source§impl PreparedRegion
impl PreparedRegion
Sourcepub const fn guard_capability(&self) -> GuardCapability
pub const fn guard_capability(&self) -> GuardCapability
Reports the requested guard policy for this prepared region.
Preparation never installs guard bands, so installed is always
false here: bands are installed when a committed batch maps each
endpoint’s own active views. After commit,
crate::active::ActiveReader::guard_capability and
crate::active::ActiveWriter::guard_capability report the actual
installation outcome.
Trait Implementations§
impl Send for PreparedRegion
Auto Trait Implementations§
impl !RefUnwindSafe for PreparedRegion
impl !Sync for PreparedRegion
impl Freeze for PreparedRegion
impl Unpin for PreparedRegion
impl UnsafeUnpin for PreparedRegion
impl UnwindSafe for PreparedRegion
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