pub struct AtClosing<R: RecvStream = RecvStream> { /* private fields */ }
Expand description
State when finishing the get response
Implementations§
Source§impl<R: RecvStream> AtClosing<R>
impl<R: RecvStream> AtClosing<R>
Sourcepub async fn next(self) -> Result<Stats, AtClosingNextError>
pub async fn next(self) -> Result<Stats, AtClosingNextError>
Finish the get response, returning statistics
Trait Implementations§
Source§impl<R: RecvStream> From<AtClosing<R>> for ConnectedNext<R>
impl<R: RecvStream> From<AtClosing<R>> for ConnectedNext<R>
Source§impl<R: RecvStream> From<AtClosing<R>> for EndBlobNext<R>
impl<R: RecvStream> From<AtClosing<R>> for EndBlobNext<R>
Auto Trait Implementations§
impl<R> Freeze for AtClosing<R>where
R: Freeze,
impl<R> RefUnwindSafe for AtClosing<R>where
R: RefUnwindSafe,
impl<R> Send for AtClosing<R>
impl<R> Sync for AtClosing<R>where
R: Sync,
impl<R> Unpin for AtClosing<R>where
R: Unpin,
impl<R> UnwindSafe for AtClosing<R>where
R: 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