pub enum RemoteParticipantError {
StateUnavailable,
ResumeEncode(ClientResumeRecordEncodeError),
ResumeDecode(ClientResumeRecordDecodeError),
ResumeRestore(ClientResumeRestoreError),
Storage(SdkError),
Transport(SdkError),
InvalidInboundDirection,
ResponseAuthorityUnavailable,
}Expand description
Failure at the SDK participant state, codec, storage, or transport boundary.
Variants§
A prior commit could not be persisted, so no aggregate authority remains reachable.
ResumeEncode(ClientResumeRecordEncodeError)
The protocol crate could not encode the current aggregate as canonical LPCR.
ResumeDecode(ClientResumeRecordDecodeError)
Persisted bytes were not a canonical LPCR record.
ResumeRestore(ClientResumeRestoreError)
Canonical facts violated a protocol restore invariant.
Storage(SdkError)
The caller-owned durable store rejected a canonical record.
Transport(SdkError)
The real transport failed outside a typed fate-reporting operation.
InvalidInboundDirection
A client-to-server request appeared on the SDK receive side.
No live response correlation exists for a replay-specific input.
Trait Implementations§
Source§impl Debug for RemoteParticipantError
impl Debug for RemoteParticipantError
Source§impl Display for RemoteParticipantError
impl Display for RemoteParticipantError
Source§impl Error for RemoteParticipantError
impl Error for RemoteParticipantError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for RemoteParticipantError
impl RefUnwindSafe for RemoteParticipantError
impl Send for RemoteParticipantError
impl Sync for RemoteParticipantError
impl Unpin for RemoteParticipantError
impl UnsafeUnpin for RemoteParticipantError
impl UnwindSafe for RemoteParticipantError
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