Enum sea_orm::error::ConnAcquireErr
source · pub enum ConnAcquireErr {
Timeout,
ConnectionClosed,
}
Expand description
Connection Acquire error
Variants§
Trait Implementations§
source§impl Debug for ConnAcquireErr
impl Debug for ConnAcquireErr
source§impl Display for ConnAcquireErr
impl Display for ConnAcquireErr
source§impl Error for ConnAcquireErr
impl Error for ConnAcquireErr
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ConnAcquireErr> for ConnAcquireErr
impl PartialEq<ConnAcquireErr> for ConnAcquireErr
source§fn eq(&self, other: &ConnAcquireErr) -> bool
fn eq(&self, other: &ConnAcquireErr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConnAcquireErr
impl StructuralEq for ConnAcquireErr
impl StructuralPartialEq for ConnAcquireErr
Auto Trait Implementations§
impl RefUnwindSafe for ConnAcquireErr
impl Send for ConnAcquireErr
impl Sync for ConnAcquireErr
impl Unpin for ConnAcquireErr
impl UnwindSafe for ConnAcquireErr
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.