pub struct StreamingOptions {
pub buffer_size: usize,
pub max_stream_size: usize,
pub skip_images: bool,
pub skip_fonts: bool,
}Expand description
Options for streaming operations
Fields§
§buffer_size: usizeBuffer size for reading
max_stream_size: usizeMaximum content stream size to process at once
skip_images: boolWhether to skip processing images
skip_fonts: boolWhether to skip processing fonts
Trait Implementations§
Source§impl Clone for StreamingOptions
impl Clone for StreamingOptions
Source§fn clone(&self) -> StreamingOptions
fn clone(&self) -> StreamingOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamingOptions
impl Debug for StreamingOptions
Auto Trait Implementations§
impl Freeze for StreamingOptions
impl RefUnwindSafe for StreamingOptions
impl Send for StreamingOptions
impl Sync for StreamingOptions
impl Unpin for StreamingOptions
impl UnwindSafe for StreamingOptions
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