pub enum ResponseError {
NotFound {
entity: &'static str,
},
NotUnique {
entity: &'static str,
count: u32,
},
}Expand description
ResponseError
Variants§
Implementations§
Source§impl ResponseError
impl ResponseError
Trait Implementations§
Source§impl Debug for ResponseError
impl Debug for ResponseError
Source§impl From<ResponseError> for QueryError
impl From<ResponseError> for QueryError
Source§fn from(err: ResponseError) -> Self
fn from(err: ResponseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseError
impl RefUnwindSafe for ResponseError
impl Send for ResponseError
impl Sync for ResponseError
impl Unpin for ResponseError
impl UnsafeUnpin for ResponseError
impl UnwindSafe for ResponseError
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