pub struct SendPart<'a, Wr: ?Sized + MultipartWrite<Part>, Part> { /* private fields */ }Expand description
Future for send_part.
Trait Implementations§
Source§impl<Wr, Part> FusedFuture for SendPart<'_, Wr, Part>where
Wr: FusedMultipartWrite<Part> + Unpin,
impl<Wr, Part> FusedFuture for SendPart<'_, Wr, Part>where
Wr: FusedMultipartWrite<Part> + Unpin,
Source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true if the underlying future should no longer be polled.Source§impl<Wr: ?Sized + MultipartWrite<Part> + Unpin, Part> Future for SendPart<'_, Wr, Part>
impl<Wr: ?Sized + MultipartWrite<Part> + Unpin, Part> Future for SendPart<'_, Wr, Part>
Source§type Output = Result<<Wr as MultipartWrite<Part>>::Ret, <Wr as MultipartWrite<Part>>::Error>
type Output = Result<<Wr as MultipartWrite<Part>>::Ret, <Wr as MultipartWrite<Part>>::Error>
The type of value produced on completion.
impl<Wr: ?Sized + MultipartWrite<Part> + Unpin, Part> Unpin for SendPart<'_, Wr, Part>
Auto Trait Implementations§
impl<'a, Wr, Part> Freeze for SendPart<'a, Wr, Part>
impl<'a, Wr, Part> RefUnwindSafe for SendPart<'a, Wr, Part>where
<Wr as MultipartWrite<Part>>::Ret: RefUnwindSafe,
Wr: RefUnwindSafe + ?Sized,
Part: RefUnwindSafe,
impl<'a, Wr, Part> Send for SendPart<'a, Wr, Part>
impl<'a, Wr, Part> Sync for SendPart<'a, Wr, Part>
impl<'a, Wr, Part> !UnwindSafe for SendPart<'a, Wr, Part>
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<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