pub struct AsyncDetectBarcodes;Available on crate features
async and detect_barcodes only.Expand description
Async wrapper for VNDetectBarcodesRequest.
Implementations§
Source§impl AsyncDetectBarcodes
impl AsyncDetectBarcodes
pub const fn new() -> Self
Sourcepub fn detect_in_path(&self, path: impl AsRef<Path>) -> DetectBarcodesFuture ⓘ
pub fn detect_in_path(&self, path: impl AsRef<Path>) -> DetectBarcodesFuture ⓘ
Detect barcodes in the image at path asynchronously.
§Errors
Returns VisionError::RequestFailed if Vision fails.
Trait Implementations§
Source§impl Clone for AsyncDetectBarcodes
impl Clone for AsyncDetectBarcodes
Source§fn clone(&self) -> AsyncDetectBarcodes
fn clone(&self) -> AsyncDetectBarcodes
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 AsyncDetectBarcodes
impl Debug for AsyncDetectBarcodes
Source§impl Default for AsyncDetectBarcodes
impl Default for AsyncDetectBarcodes
Source§fn default() -> AsyncDetectBarcodes
fn default() -> AsyncDetectBarcodes
Returns the “default value” for a type. Read more
impl Copy for AsyncDetectBarcodes
Auto Trait Implementations§
impl Freeze for AsyncDetectBarcodes
impl RefUnwindSafe for AsyncDetectBarcodes
impl Send for AsyncDetectBarcodes
impl Sync for AsyncDetectBarcodes
impl Unpin for AsyncDetectBarcodes
impl UnsafeUnpin for AsyncDetectBarcodes
impl UnwindSafe for AsyncDetectBarcodes
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