pub struct AsyncDetectFaces;Available on crate features
async and detect_faces only.Expand description
Async wrapper for VNDetectFaceRectanglesRequest.
Implementations§
Source§impl AsyncDetectFaces
impl AsyncDetectFaces
pub const fn new() -> Self
Sourcepub fn detect_in_path(&self, path: impl AsRef<Path>) -> DetectFacesFuture ⓘ
pub fn detect_in_path(&self, path: impl AsRef<Path>) -> DetectFacesFuture ⓘ
Detect faces in the image at path asynchronously.
§Errors
Returns VisionError::RequestFailed if Vision fails.
Trait Implementations§
Source§impl Clone for AsyncDetectFaces
impl Clone for AsyncDetectFaces
Source§fn clone(&self) -> AsyncDetectFaces
fn clone(&self) -> AsyncDetectFaces
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsyncDetectFaces
impl Debug for AsyncDetectFaces
Source§impl Default for AsyncDetectFaces
impl Default for AsyncDetectFaces
Source§fn default() -> AsyncDetectFaces
fn default() -> AsyncDetectFaces
Returns the “default value” for a type. Read more
impl Copy for AsyncDetectFaces
Auto Trait Implementations§
impl Freeze for AsyncDetectFaces
impl RefUnwindSafe for AsyncDetectFaces
impl Send for AsyncDetectFaces
impl Sync for AsyncDetectFaces
impl Unpin for AsyncDetectFaces
impl UnsafeUnpin for AsyncDetectFaces
impl UnwindSafe for AsyncDetectFaces
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