pub enum ProcessedOutcome {
Processed(HostDeliveryRecord),
AlreadyProcessed(HostDeliveryRecord),
Conflict {
existing: Box<ProcessedActionRef>,
},
NotAcknowledged {
state: HostDeliveryStateKind,
},
FenceRejected {
current: IntegratorFence,
},
LeaseNotOwned,
}Expand description
What the ledger did with a host’s claim to have acted.
Variants§
Processed(HostDeliveryRecord)
Closed by this act.
AlreadyProcessed(HostDeliveryRecord)
Already closed by the same act; nothing changed.
Conflict
Already closed by a different act.
Fields
§
existing: Box<ProcessedActionRef>NotAcknowledged
Nothing was acknowledged yet, so there is nothing to close.
A host that claims to have acted on something it never said it received has lost track of which delivery it is answering, and accepting the claim would close a hand-off nobody made.
Fields
§
state: HostDeliveryStateKindFenceRejected
The caller’s generation is not the one currently bound.
Fields
§
current: IntegratorFenceLeaseNotOwned
The delivery belongs to a different host generation.
Implementations§
Trait Implementations§
Source§impl Clone for ProcessedOutcome
impl Clone for ProcessedOutcome
Source§impl Debug for ProcessedOutcome
impl Debug for ProcessedOutcome
impl Eq for ProcessedOutcome
Source§impl PartialEq for ProcessedOutcome
impl PartialEq for ProcessedOutcome
impl StructuralPartialEq for ProcessedOutcome
Auto Trait Implementations§
impl Freeze for ProcessedOutcome
impl RefUnwindSafe for ProcessedOutcome
impl Send for ProcessedOutcome
impl Sync for ProcessedOutcome
impl Unpin for ProcessedOutcome
impl UnsafeUnpin for ProcessedOutcome
impl UnwindSafe for ProcessedOutcome
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