pub enum TensorWriteback {
Unchanged,
Commit,
}Expand description
Native write-back decision returned by a transaction handler.
Variants§
Unchanged
Discard handler-side edits and leave the native tensor unchanged.
Commit
Validate and commit the complete edited tensor exactly once.
Trait Implementations§
Source§impl Clone for TensorWriteback
impl Clone for TensorWriteback
Source§fn clone(&self) -> TensorWriteback
fn clone(&self) -> TensorWriteback
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TensorWriteback
Source§impl Debug for TensorWriteback
impl Debug for TensorWriteback
impl Eq for TensorWriteback
Source§impl PartialEq for TensorWriteback
impl PartialEq for TensorWriteback
impl StructuralPartialEq for TensorWriteback
Auto Trait Implementations§
impl Freeze for TensorWriteback
impl RefUnwindSafe for TensorWriteback
impl Send for TensorWriteback
impl Sync for TensorWriteback
impl Unpin for TensorWriteback
impl UnsafeUnpin for TensorWriteback
impl UnwindSafe for TensorWriteback
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