pub enum LengthSource {
Direct,
Indirect,
Fallback,
Missing,
}Expand description
How a stream’s data length was determined.
Variants§
Direct
A direct /Length N was read and verified against endstream.
Indirect
An indirect /Length N G R was resolved and verified.
Fallback
No usable /Length; the conservative 3.2 keyword search was used.
Missing
No /Length key was present at all; the keyword search was used.
Trait Implementations§
Source§impl Clone for LengthSource
impl Clone for LengthSource
impl Copy for LengthSource
Source§impl Debug for LengthSource
impl Debug for LengthSource
impl Eq for LengthSource
Source§impl PartialEq for LengthSource
impl PartialEq for LengthSource
impl StructuralPartialEq for LengthSource
Auto Trait Implementations§
impl Freeze for LengthSource
impl RefUnwindSafe for LengthSource
impl Send for LengthSource
impl Sync for LengthSource
impl Unpin for LengthSource
impl UnsafeUnpin for LengthSource
impl UnwindSafe for LengthSource
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