pub struct WriteCx<'a> {
pub os: Os,
pub existing: Option<&'a NativeValue>,
}Expand description
Context of one write.
Fields§
§os: Os§existing: Option<&'a NativeValue>The entry currently in the file under the same key, if any. Keys the mapper does not model are carried over from it.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for WriteCx<'a>
impl<'a> Freeze for WriteCx<'a>where
&'a NativeValue: Freeze,
impl<'a> Move for WriteCx<'a>
impl<'a> RefUnwindSafe for WriteCx<'a>
impl<'a> Send for WriteCx<'a>where
&'a NativeValue: Send,
impl<'a> Sync for WriteCx<'a>where
RawVecInner: Sync,
impl<'a> Unpin for WriteCx<'a>where
&'a NativeValue: Unpin,
impl<'a> UnsafeUnpin for WriteCx<'a>where
&'a NativeValue: UnsafeUnpin,
impl<'a> UnwindSafe for WriteCx<'a>where
&'a NativeValue: UnwindSafe,
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