pub struct StreamingPage { /* private fields */ }Expand description
A page that can be processed in streaming mode
Implementations§
Source§impl StreamingPage
impl StreamingPage
Sourcepub fn extract_text_streaming(&self) -> Result<String>
pub fn extract_text_streaming(&self) -> Result<String>
Extract text from this page in streaming mode
Sourcepub fn process_content<F>(&self, callback: F) -> Result<()>
pub fn process_content<F>(&self, callback: F) -> Result<()>
Process content stream in chunks
Trait Implementations§
Source§impl Clone for StreamingPage
impl Clone for StreamingPage
Source§fn clone(&self) -> StreamingPage
fn clone(&self) -> StreamingPage
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 moreAuto Trait Implementations§
impl Freeze for StreamingPage
impl RefUnwindSafe for StreamingPage
impl Send for StreamingPage
impl Sync for StreamingPage
impl Unpin for StreamingPage
impl UnsafeUnpin for StreamingPage
impl UnwindSafe for StreamingPage
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