pub struct PreparedWriter { /* private fields */ }Expand description
Sealed sole-writer mapping awaiting export/commit.
Implementations§
Source§impl PreparedWriter
impl PreparedWriter
Sourcepub fn export_reader(&self) -> Result<ExportedReaderCapability, LinuxError>
pub fn export_reader(&self) -> Result<ExportedReaderCapability, LinuxError>
Duplicates a sealed descriptor that can create only future read-only mappings.
Sourcepub fn bind(self) -> Result<WriterRegion<LinuxWriterMapping>, LinuxError>
pub fn bind(self) -> Result<WriterRegion<LinuxWriterMapping>, LinuxError>
Commits the unique local writer into the audited core bridge.
Auto Trait Implementations§
impl !Send for PreparedWriter
impl !Sync for PreparedWriter
impl Freeze for PreparedWriter
impl RefUnwindSafe for PreparedWriter
impl Unpin for PreparedWriter
impl UnsafeUnpin for PreparedWriter
impl UnwindSafe for PreparedWriter
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