pub struct DoneType;Expand description
Marker type indicating completion of a transaction with no return value.
Trait Implementations§
impl Copy for DoneType
impl Eq for DoneType
Source§impl From<DoneType> for TransactionResult<()>
impl From<DoneType> for TransactionResult<()>
Source§impl IntoTransactionResult for DoneType
impl IntoTransactionResult for DoneType
Source§type Output = ()
type Output = ()
The terminal value type returned by
until_done when the transaction completes.Source§fn into_transaction_result(self) -> TransactionResult<()>
fn into_transaction_result(self) -> TransactionResult<()>
Converts the closure return value into a
TransactionResult.impl StructuralPartialEq for DoneType
Auto Trait Implementations§
impl Freeze for DoneType
impl RefUnwindSafe for DoneType
impl Send for DoneType
impl Sync for DoneType
impl Unpin for DoneType
impl UnsafeUnpin for DoneType
impl UnwindSafe for DoneType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)