pub struct Close<'a, Si: ?Sized, Item> { /* private fields */ }Expand description
Future for the close method.
Trait Implementations§
impl<Si: Unpin + ?Sized, Item> Unpin for Close<'_, Si, Item>
Auto Trait Implementations§
impl<'a, Si, Item> Freeze for Close<'a, Si, Item>where
Si: ?Sized,
impl<'a, Si, Item> RefUnwindSafe for Close<'a, Si, Item>where
Si: RefUnwindSafe + ?Sized,
impl<'a, Si, Item> Send for Close<'a, Si, Item>
impl<'a, Si, Item> Sync for Close<'a, Si, Item>
impl<'a, Si, Item> !UnwindSafe for Close<'a, Si, Item>
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> 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 moreSource§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more