pub enum MutationRunError {
Backend(CloudBackendError),
Store(CloudFilesStoreError),
Contract(CloudFilesCoreError),
RecordNotFound,
}Expand description
Product-neutral failure while driving one durable mutation record.
Variants§
Backend(CloudBackendError)
The product-owned remote mutation adapter failed.
Store(CloudFilesStoreError)
The durable mutation journal failed.
Contract(CloudFilesCoreError)
A backend outcome or durable record violated the mutation contract.
RecordNotFound
The requested operation has no durable mutation record.
Trait Implementations§
Source§impl Clone for MutationRunError
impl Clone for MutationRunError
Source§fn clone(&self) -> MutationRunError
fn clone(&self) -> MutationRunError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MutationRunError
impl Debug for MutationRunError
Source§impl Display for MutationRunError
impl Display for MutationRunError
Source§impl Error for MutationRunError
impl Error for MutationRunError
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()
Source§impl From<CloudBackendError> for MutationRunError
impl From<CloudBackendError> for MutationRunError
Source§fn from(source: CloudBackendError) -> Self
fn from(source: CloudBackendError) -> Self
Converts to this type from the input type.
Source§impl From<CloudFilesCoreError> for MutationRunError
impl From<CloudFilesCoreError> for MutationRunError
Source§fn from(source: CloudFilesCoreError) -> Self
fn from(source: CloudFilesCoreError) -> Self
Converts to this type from the input type.
Source§impl From<CloudFilesStoreError> for MutationRunError
impl From<CloudFilesStoreError> for MutationRunError
Source§fn from(source: CloudFilesStoreError) -> Self
fn from(source: CloudFilesStoreError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MutationRunError
impl PartialEq for MutationRunError
impl Eq for MutationRunError
impl StructuralPartialEq for MutationRunError
Auto Trait Implementations§
impl Freeze for MutationRunError
impl RefUnwindSafe for MutationRunError
impl Send for MutationRunError
impl Sync for MutationRunError
impl Unpin for MutationRunError
impl UnwindSafe for MutationRunError
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