[−][src]Enum mongodb::event::cmap::ConnectionClosedReason
The reasons that a connection may be closed.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The connection pool has been cleared since the connection was created.
The connection has been available for longer than max_idle_time
without being used.
An error occurred while using the connection.
The connection was dropped during read or write.
The pool that the connection belongs to has been closed.
Trait Implementations
impl Debug for ConnectionClosedReason
[src]
impl<'de> Deserialize<'de> for ConnectionClosedReason
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ConnectionClosedReason> for ConnectionClosedReason
[src]
fn eq(&self, other: &ConnectionClosedReason) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ConnectionClosedReason
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConnectionClosedReason
impl Send for ConnectionClosedReason
impl Sync for ConnectionClosedReason
impl Unpin for ConnectionClosedReason
impl UnwindSafe for ConnectionClosedReason
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,