pub enum AtomicWriteError {
WriteFailed(ContextStoreError),
CompletionFailed(Box<dyn Error + Send + Sync>),
}Expand description
Errors from the atomic write-before-complete protocol.
Variants§
WriteFailed(ContextStoreError)
The ContextStore write failed (non-idempotent failure).
CompletionFailed(Box<dyn Error + Send + Sync>)
The write succeeded but the completion callback failed. The output IS durable — on retry, the write will return AlreadyExists and completion will be re-attempted.
Trait Implementations§
Source§impl Debug for AtomicWriteError
impl Debug for AtomicWriteError
Source§impl Display for AtomicWriteError
impl Display for AtomicWriteError
Source§impl Error for AtomicWriteError
impl Error for AtomicWriteError
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 AtomicWriteError
impl !RefUnwindSafe for AtomicWriteError
impl Send for AtomicWriteError
impl Sync for AtomicWriteError
impl Unpin for AtomicWriteError
impl UnsafeUnpin for AtomicWriteError
impl !UnwindSafe for AtomicWriteError
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