pub struct Failure {
pub symbol_move_candidates: Option<Vec<SymbolMoveCandidate>>,
pub symbol_move_unsupported: Option<SymbolMoveUnsupported>,
pub continuation: Option<ContinuationRecovery>,
pub output_limit: Option<OutputLimit>,
pub code: ErrorCode,
pub message: String,
pub hint: Option<String>,
pub recovery: Option<Recovery>,
}Expand description
A failed request, as the wire carries it.
Fields§
§symbol_move_candidates: Option<Vec<SymbolMoveCandidate>>§symbol_move_unsupported: Option<SymbolMoveUnsupported>§continuation: Option<ContinuationRecovery>§output_limit: Option<OutputLimit>§code: ErrorCode§message: String§hint: Option<String>What to try instead, when there is something.
recovery: Option<Recovery>Effects that could not be restored after a failed mutation.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Failure
impl<'de> Deserialize<'de> for Failure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Failure
Source§impl From<&EngineError> for Failure
impl From<&EngineError> for Failure
Source§fn from(error: &EngineError) -> Self
fn from(error: &EngineError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Freeze for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more