pub enum PdfDocumentFindEvent {
Notification(PdfDocumentNotification),
Match(PdfDocumentFindMatch),
Failed(PdfKitError),
}Available on crate feature
async only.Expand description
Events emitted while a PDFKit string search is running.
Variants§
Notification(PdfDocumentNotification)
Synthetic lifecycle notifications emitted by the worker thread.
Match(PdfDocumentFindMatch)
One owned match snapshot.
Failed(PdfKitError)
Search failure reported by the worker thread.
Trait Implementations§
Source§impl Clone for PdfDocumentFindEvent
impl Clone for PdfDocumentFindEvent
Source§fn clone(&self) -> PdfDocumentFindEvent
fn clone(&self) -> PdfDocumentFindEvent
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 PdfDocumentFindEvent
impl Debug for PdfDocumentFindEvent
Source§impl PartialEq for PdfDocumentFindEvent
impl PartialEq for PdfDocumentFindEvent
Source§fn eq(&self, other: &PdfDocumentFindEvent) -> bool
fn eq(&self, other: &PdfDocumentFindEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PdfDocumentFindEvent
impl StructuralPartialEq for PdfDocumentFindEvent
Auto Trait Implementations§
impl Freeze for PdfDocumentFindEvent
impl RefUnwindSafe for PdfDocumentFindEvent
impl Send for PdfDocumentFindEvent
impl Sync for PdfDocumentFindEvent
impl Unpin for PdfDocumentFindEvent
impl UnsafeUnpin for PdfDocumentFindEvent
impl UnwindSafe for PdfDocumentFindEvent
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