pub enum QueryError {
Conformance(Box<ConformanceError>),
NotFound(NotFoundError),
Generic {
message: String,
},
}Variants§
Implementations§
Source§impl QueryError
impl QueryError
pub fn generic(message: String) -> QueryError
Trait Implementations§
Source§impl Clone for QueryError
impl Clone for QueryError
Source§fn clone(&self) -> QueryError
fn clone(&self) -> QueryError
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 QueryError
impl Debug for QueryError
Source§impl Display for QueryError
impl Display for QueryError
Source§impl From<NotFoundError> for QueryError
impl From<NotFoundError> for QueryError
Source§fn from(v: NotFoundError) -> Self
fn from(v: NotFoundError) -> Self
Converts to this type from the input type.
Source§impl From<String> for QueryError
impl From<String> for QueryError
Source§impl Serialize for QueryError
impl Serialize for QueryError
Auto Trait Implementations§
impl Freeze for QueryError
impl RefUnwindSafe for QueryError
impl Send for QueryError
impl Sync for QueryError
impl Unpin for QueryError
impl UnwindSafe for QueryError
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