pub enum Received {
Accepted(Vec<ChangeId>),
Waiting,
Duplicate,
Completed,
}Expand description
What became of a received change.
Variants§
Accepted(Vec<ChangeId>)
The change was accepted, followed by the waiting changes it completed, in the order they were accepted. Their operations are applied once their payloads and keys are there.
Waiting
The change waits for some of its parents.
Duplicate
The log already has the change, accepted or waiting, and all that came with it.
Completed
The log already has the change, accepted or waiting, and keeps the payload or a key that came with it, which it lacked.
Trait Implementations§
impl Eq for Received
impl StructuralPartialEq for Received
Auto Trait Implementations§
impl Forget for Received
impl Freeze for Received
impl Move for Received
impl RefUnwindSafe for Received
impl Send for Received
impl Sync for Received
impl Unpin for Received
impl UnsafeUnpin for Received
impl UnwindSafe for Received
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