pub enum BindingReply<A, Key, Role>where
A: Address + EndpointAddress,{
Bound {
request: BindingRequestId,
current: BindingEvidence<Role>,
},
Rebalanced {
request: BindingRequestId,
prior: BindingEvidence<Role>,
current: BindingEvidence<Role>,
},
Unchanged {
request: BindingRequestId,
current: BindingEvidence<Role>,
},
Unbound {
request: BindingRequestId,
key: Key,
removed: BindingEvidence<Role>,
},
AlreadyUnbound {
command: BindingCommand<A, Key, Role>,
},
Rejected {
command: BindingCommand<A, Key, Role>,
reason: BindingRejection,
},
}Expand description
Complete result of one binding management command.
Variants§
Bound
An absent key was bound to the requested role.
Fields
request: BindingRequestIdCaller-authored correlation.
current: BindingEvidence<Role>Newly retained role and generation.
Rebalanced
An existing key moved to another role with a fresh generation.
Fields
request: BindingRequestIdCaller-authored correlation.
prior: BindingEvidence<Role>Previously retained role and generation.
current: BindingEvidence<Role>Newly retained role and generation.
Unchanged
A same-role rebalance preserved the exact generation.
Fields
request: BindingRequestIdCaller-authored correlation.
current: BindingEvidence<Role>Still-current role and generation.
Unbound
The exact retained binding was removed.
Fields
request: BindingRequestIdCaller-authored correlation.
key: KeyKey formerly owned by the binding table.
removed: BindingEvidence<Role>Removed role and generation.
AlreadyUnbound
The command expected absence and the key was already absent.
Fields
command: BindingCommand<A, Key, Role>Complete unchanged command for retry or inspection.
Rejected
The command was rejected without changing the table.
Fields
command: BindingCommand<A, Key, Role>Complete unchanged command for retry or inspection.
reason: BindingRejectionExact rejection reason.