pub enum AskFailure {
Decode {
codec: Symbol,
message: String,
},
Shape {
expected: String,
diagnostics: Vec<String>,
},
}Expand description
ASK failure data that can be fed back to a model as repair context.
Variants§
Decode
The returned content could not be decoded by the declared codec.
Shape
The decoded value failed the declared return Shape.
Implementations§
Trait Implementations§
Source§impl Clone for AskFailure
impl Clone for AskFailure
Source§fn clone(&self) -> AskFailure
fn clone(&self) -> AskFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AskFailure
impl Debug for AskFailure
impl Eq for AskFailure
Source§impl PartialEq for AskFailure
impl PartialEq for AskFailure
impl StructuralPartialEq for AskFailure
Auto Trait Implementations§
impl Freeze for AskFailure
impl RefUnwindSafe for AskFailure
impl Send for AskFailure
impl Sync for AskFailure
impl Unpin for AskFailure
impl UnsafeUnpin for AskFailure
impl UnwindSafe for AskFailure
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.