pub enum EmbeddedPolicy {
Strict,
BestEffort,
}Expand description
Caller-selected policy for embedded JBIG2 streams. Existing APIs stay strict.
Variants§
Strict
Apply the same validation as the existing embedded entry points.
BestEffort
Allow only the documented page-flag and complete-marker recoveries.
Trait Implementations§
Source§impl Clone for EmbeddedPolicy
impl Clone for EmbeddedPolicy
impl Copy for EmbeddedPolicy
Source§impl Debug for EmbeddedPolicy
impl Debug for EmbeddedPolicy
impl Eq for EmbeddedPolicy
Source§impl PartialEq for EmbeddedPolicy
impl PartialEq for EmbeddedPolicy
impl StructuralPartialEq for EmbeddedPolicy
Auto Trait Implementations§
impl Forget for EmbeddedPolicy
impl Freeze for EmbeddedPolicy
impl Move for EmbeddedPolicy
impl RefUnwindSafe for EmbeddedPolicy
impl Send for EmbeddedPolicy
impl Sync for EmbeddedPolicy
impl Unpin for EmbeddedPolicy
impl UnsafeUnpin for EmbeddedPolicy
impl UnwindSafe for EmbeddedPolicy
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