pub struct Closed<Q> {
pub remainings: Q,
pub connection_handle: ConnectionHandle,
}Expand description
The result of a connection is closed
Fields§
§remainings: QThe remaining queries associated with the connection, if any.
connection_handle: ConnectionHandleThe closed connection handle.
Trait Implementations§
impl<Q: Copy> Copy for Closed<Q>
impl<Q: Eq> Eq for Closed<Q>
impl<Q> StructuralPartialEq for Closed<Q>
Auto Trait Implementations§
impl<Q> Freeze for Closed<Q>where
Q: Freeze,
impl<Q> RefUnwindSafe for Closed<Q>where
Q: RefUnwindSafe,
impl<Q> Send for Closed<Q>where
Q: Send,
impl<Q> Sync for Closed<Q>where
Q: Sync,
impl<Q> Unpin for Closed<Q>where
Q: Unpin,
impl<Q> UnwindSafe for Closed<Q>where
Q: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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