pub struct QueryCancelled;Expand description
Raised when a query is cancelled by user request. Matches
PostgreSQL SQLSTATE 57014 (query_canceled); its Display payload
stays stable for log processing.
Trait Implementations§
Source§impl Clone for QueryCancelled
impl Clone for QueryCancelled
Source§fn clone(&self) -> QueryCancelled
fn clone(&self) -> QueryCancelled
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 moreimpl Copy for QueryCancelled
Source§impl Debug for QueryCancelled
impl Debug for QueryCancelled
Source§impl Display for QueryCancelled
impl Display for QueryCancelled
impl Eq for QueryCancelled
Source§impl Error for QueryCancelled
impl Error for QueryCancelled
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()
Source§impl PartialEq for QueryCancelled
impl PartialEq for QueryCancelled
impl StructuralPartialEq for QueryCancelled
Auto Trait Implementations§
impl Freeze for QueryCancelled
impl RefUnwindSafe for QueryCancelled
impl Send for QueryCancelled
impl Sync for QueryCancelled
impl Unpin for QueryCancelled
impl UnsafeUnpin for QueryCancelled
impl UnwindSafe for QueryCancelled
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