pub enum ObjectState {
New,
Modified,
Deleted,
Committed,
}Expand description
Lifecycle state of a DLRL object. Spec §B.6.2.
Variants§
New
NEW — object created in the cache but not yet committed.
Modified
MODIFIED — committed, then modified locally.
Deleted
DELETED — marked for deletion (cascade pending).
Committed
COMMITTED — last commit succeeded.
Trait Implementations§
Source§impl Clone for ObjectState
impl Clone for ObjectState
Source§fn clone(&self) -> ObjectState
fn clone(&self) -> ObjectState
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 ObjectState
Source§impl Debug for ObjectState
impl Debug for ObjectState
impl Eq for ObjectState
Source§impl Hash for ObjectState
impl Hash for ObjectState
Source§impl PartialEq for ObjectState
impl PartialEq for ObjectState
Source§fn eq(&self, other: &ObjectState) -> bool
fn eq(&self, other: &ObjectState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObjectState
Auto Trait Implementations§
impl Freeze for ObjectState
impl RefUnwindSafe for ObjectState
impl Send for ObjectState
impl Sync for ObjectState
impl Unpin for ObjectState
impl UnsafeUnpin for ObjectState
impl UnwindSafe for ObjectState
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