pub enum DocumentLimit {
InputBytes,
CompressedBytes,
ExpandedBytes,
OutputBytes,
MemoryBytes,
EntryCount,
FactCount,
NestingDepth,
ExecutionFuel,
}Expand description
Resource ceiling applied by the document boundary.
Variants§
InputBytes
Raw input bytes for PDF or compressed package bytes for DOCX.
CompressedBytes
Total compressed ZIP member bytes.
ExpandedBytes
Total uncompressed ZIP member bytes.
OutputBytes
Retained extracted UTF-8 bytes.
MemoryBytes
Source and parser staging envelope.
EntryCount
Number of ZIP entries.
FactCount
Number of retained evidence facts.
NestingDepth
Nested XML elements in a document part.
ExecutionFuel
Interpreter work consumed by the contained PDF parser.
Trait Implementations§
Source§impl Clone for DocumentLimit
impl Clone for DocumentLimit
Source§fn clone(&self) -> DocumentLimit
fn clone(&self) -> DocumentLimit
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 moreimpl Copy for DocumentLimit
Source§impl Debug for DocumentLimit
impl Debug for DocumentLimit
Source§impl Display for DocumentLimit
impl Display for DocumentLimit
impl Eq for DocumentLimit
Source§impl PartialEq for DocumentLimit
impl PartialEq for DocumentLimit
Source§fn eq(&self, other: &DocumentLimit) -> bool
fn eq(&self, other: &DocumentLimit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentLimit
Auto Trait Implementations§
impl Freeze for DocumentLimit
impl RefUnwindSafe for DocumentLimit
impl Send for DocumentLimit
impl Sync for DocumentLimit
impl Unpin for DocumentLimit
impl UnsafeUnpin for DocumentLimit
impl UnwindSafe for DocumentLimit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.