pub enum RemoteOperationRecordOutcome {
Recorded(RemoteParticipantOperation),
Continuous(RemoteParticipantOperation),
Refused {
request: ClientRequest,
reason: ClientOperationRecordRefusalReason,
},
}Expand description
Result of admitting an outbound request through the crate write-ahead barrier.
Variants§
Recorded(RemoteParticipantOperation)
Canonical LPCR bytes were persisted and one operation may now be sent.
Continuous(RemoteParticipantOperation)
A continuous acknowledgement bypassed the write-ahead slot by crate rule.
Refused
The crate refused the exact request without changing aggregate state.
Fields
§
request: ClientRequestExact refused request.
§
reason: ClientOperationRecordRefusalReasonClosed protocol refusal reason.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RemoteOperationRecordOutcome
impl RefUnwindSafe for RemoteOperationRecordOutcome
impl Send for RemoteOperationRecordOutcome
impl Sync for RemoteOperationRecordOutcome
impl Unpin for RemoteOperationRecordOutcome
impl UnsafeUnpin for RemoteOperationRecordOutcome
impl UnwindSafe for RemoteOperationRecordOutcome
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