pub struct SaveRequest { /* private fields */ }Expand description
Fully owned work item: move this to a blocking persistence worker.
Implementations§
Source§impl SaveRequest
impl SaveRequest
Sourcepub fn persist(self) -> Result<(), SessionError>
pub fn persist(self) -> Result<(), SessionError>
Blocking I/O; schedule on a worker, not the async executor thread.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SaveRequest
impl RefUnwindSafe for SaveRequest
impl Send for SaveRequest
impl Sync for SaveRequest
impl Unpin for SaveRequest
impl UnsafeUnpin for SaveRequest
impl UnwindSafe for SaveRequest
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