pub enum ConnAcquireErr {
Timeout,
ConnectionClosed,
}Expand description
Connection Acquire error
Variantsยง
Trait Implementationsยง
Sourceยงimpl Clone for ConnAcquireErr
impl Clone for ConnAcquireErr
Sourceยงfn clone(&self) -> ConnAcquireErr
fn clone(&self) -> ConnAcquireErr
Returns a duplicate of the value. Read more
1.0.0ยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยง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ยง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ยงfn description(&self) -> &str
fn description(&self) -> &str
๐Deprecated since 1.42.0: use the Display impl or to_string()
Sourceยงimpl PartialEq for ConnAcquireErr
impl PartialEq for ConnAcquireErr
impl Copy for ConnAcquireErr
impl Eq for ConnAcquireErr
impl StructuralPartialEq for ConnAcquireErr
Auto Trait Implementationsยง
impl Freeze for ConnAcquireErr
impl RefUnwindSafe for ConnAcquireErr
impl Send for ConnAcquireErr
impl Sync for ConnAcquireErr
impl Unpin for ConnAcquireErr
impl UnwindSafe for ConnAcquireErr
Blanket Implementationsยง
ยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
ยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
ยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
ยงunsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit)Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more