pub struct ReadToString<'a, R: ?Sized> {
    reader: &'a mut R,
    output: &'a mut String,
    buf: VecWithInitialized<Vec<u8>>,
    read: usize,
    _pin: PhantomPinned,
}Expand description
Future for the read_to_string method.
Fields§
§reader: &'a mut R§output: &'a mut String§buf: VecWithInitialized<Vec<u8>>§read: usize§_pin: PhantomPinnedTrait Implementations§
Source§impl<A> Future for ReadToString<'_, A>
 
impl<A> Future for ReadToString<'_, A>
impl<'__pin, 'a, R: ?Sized> Unpin for ReadToString<'a, R>where
    PinnedFieldsOf<__Origin<'__pin, 'a, R>>: Unpin,
Auto Trait Implementations§
impl<'a, R> Freeze for ReadToString<'a, R>where
    R: ?Sized,
impl<'a, R> RefUnwindSafe for ReadToString<'a, R>where
    R: RefUnwindSafe + ?Sized,
impl<'a, R> Send for ReadToString<'a, R>
impl<'a, R> Sync for ReadToString<'a, R>
impl<'a, R> !UnwindSafe for ReadToString<'a, R>
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