pub struct QueryKeyError(pub Error);Expand description
Why a QueryKey could not be computed: the AST failed to serialize to JSON
(the canonical byte form). Practically unreachable for a well-formed [Ast].
Tuple Fields§
§0: ErrorTrait Implementations§
Source§impl Debug for QueryKeyError
impl Debug for QueryKeyError
Source§impl Display for QueryKeyError
impl Display for QueryKeyError
Source§impl Error for QueryKeyError
impl Error for QueryKeyError
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 QueryKeyError
impl !RefUnwindSafe for QueryKeyError
impl Send for QueryKeyError
impl Sync for QueryKeyError
impl Unpin for QueryKeyError
impl UnsafeUnpin for QueryKeyError
impl !UnwindSafe for QueryKeyError
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