pub struct RespondGeneratingFuture { /* private fields */ }Available on crate feature
async only.Expand description
Future returned by AsyncSession::respond_generating.
Resolves to Result<SessionResponse<GeneratedContent>, FMError>.
Trait Implementations§
Source§impl Debug for RespondGeneratingFuture
impl Debug for RespondGeneratingFuture
Source§impl Future for RespondGeneratingFuture
impl Future for RespondGeneratingFuture
Source§type Output = Result<SessionResponse<GeneratedContent>, FMError>
type Output = Result<SessionResponse<GeneratedContent>, FMError>
The type of value produced on completion.
Auto Trait Implementations§
impl Freeze for RespondGeneratingFuture
impl RefUnwindSafe for RespondGeneratingFuture
impl Send for RespondGeneratingFuture
impl Sync for RespondGeneratingFuture
impl Unpin for RespondGeneratingFuture
impl UnsafeUnpin for RespondGeneratingFuture
impl UnwindSafe for RespondGeneratingFuture
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