pub struct PreparedWrite { /* private fields */ }Available on non-
target_family=wasm only.Expand description
Bytes on the disk under a temporary name. Dropping this instead of committing leaves the document as it was.
Implementations§
Source§impl PreparedWrite
impl PreparedWrite
pub fn commit(self) -> Result<CommittedWrite, DocumentError>
Auto Trait Implementations§
impl Freeze for PreparedWrite
impl RefUnwindSafe for PreparedWrite
impl Send for PreparedWrite
impl Sync for PreparedWrite
impl Unpin for PreparedWrite
impl UnsafeUnpin for PreparedWrite
impl UnwindSafe for PreparedWrite
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