pub enum DecodePolicy {
Strict,
Compatibility,
}Expand description
Validation policy for standalone files. Existing entry points remain strict.
Variants§
Strict
Require the ordinary standalone syntax and page lifecycle.
Compatibility
Apply only the bounded, observable exceptions documented below.
Trait Implementations§
Source§impl Clone for DecodePolicy
impl Clone for DecodePolicy
impl Copy for DecodePolicy
Source§impl Debug for DecodePolicy
impl Debug for DecodePolicy
impl Eq for DecodePolicy
Source§impl PartialEq for DecodePolicy
impl PartialEq for DecodePolicy
impl StructuralPartialEq for DecodePolicy
Auto Trait Implementations§
impl Forget for DecodePolicy
impl Freeze for DecodePolicy
impl Move for DecodePolicy
impl RefUnwindSafe for DecodePolicy
impl Send for DecodePolicy
impl Sync for DecodePolicy
impl Unpin for DecodePolicy
impl UnsafeUnpin for DecodePolicy
impl UnwindSafe for DecodePolicy
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