pub struct AnalyzeImageFuture { /* private fields */ }Available on crate feature
async only.Expand description
Future returned by AsyncImageAnalyzer::analyze_image_at_path.
Trait Implementations§
Source§impl Debug for AnalyzeImageFuture
impl Debug for AnalyzeImageFuture
Source§impl Future for AnalyzeImageFuture
impl Future for AnalyzeImageFuture
Source§type Output = Result<ImageAnalysis, VisionKitError>
type Output = Result<ImageAnalysis, VisionKitError>
The type of value produced on completion.
Auto Trait Implementations§
impl Forget for AnalyzeImageFuture
impl Freeze for AnalyzeImageFuturewhere
*const ArcInner<AsyncCompletionInner<Result<AnalysisToken, VisionKitError>>> is !null: Freeze,
PhantomData<ArcInner<AsyncCompletionInner<Result<AnalysisToken, VisionKitError>>>>: Freeze,
impl Move for AnalyzeImageFuture
impl RefUnwindSafe for AnalyzeImageFuturewhere
Atomic<usize>: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Mutex<AsyncCompletionState<Result<AnalysisToken, VisionKitError>>>: RefUnwindSafe,
impl Send for AnalyzeImageFuture
impl Sync for AnalyzeImageFuture
impl Unpin for AnalyzeImageFuture
impl UnsafeUnpin for AnalyzeImageFuturewhere
*const ArcInner<AsyncCompletionInner<Result<AnalysisToken, VisionKitError>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<AsyncCompletionInner<Result<AnalysisToken, VisionKitError>>>>: UnsafeUnpin,
impl UnwindSafe for AnalyzeImageFuture
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