pub struct GenerationProgress<N> {
pub send_started: bool,
pub raw_response: Option<WireResponse<Bytes>>,
pub native_response: Option<N>,
/* private fields */
}Expand description
Kept by the caller if an await is cancelled or response conversion fails. A started send is never implicitly retried. Native bytes are retained before decoding.
Fields§
§send_started: bool§raw_response: Option<WireResponse<Bytes>>§native_response: Option<N>Trait Implementations§
Source§impl<N: Debug> Debug for GenerationProgress<N>
impl<N: Debug> Debug for GenerationProgress<N>
Auto Trait Implementations§
impl<N> !Freeze for GenerationProgress<N>
impl<N> RefUnwindSafe for GenerationProgress<N>where
Option<N>: RefUnwindSafe,
impl<N> Send for GenerationProgress<N>
impl<N> Sync for GenerationProgress<N>
impl<N> Unpin for GenerationProgress<N>
impl<N> UnsafeUnpin for GenerationProgress<N>where
Option<N>: UnsafeUnpin,
impl<N> UnwindSafe for GenerationProgress<N>where
Option<N>: 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