pub enum Reading {
Strict,
Listing,
}Available on crate features
json or toml or yaml only.Expand description
What a Format::read refuses besides syntax.
Variants§
Strict
A config or any text the caller validates: a duplicate key and a merge key are refused.
Listing
A listing of a text the caller did not write, such as the front matter of a Markdown file: a duplicate key and a merge key stay as ordinary entries.
Trait Implementations§
impl Copy for Reading
impl Eq for Reading
impl StructuralPartialEq for Reading
Auto Trait Implementations§
impl Forget for Reading
impl Freeze for Reading
impl Move for Reading
impl RefUnwindSafe for Reading
impl Send for Reading
impl Sync for Reading
impl Unpin for Reading
impl UnsafeUnpin for Reading
impl UnwindSafe for Reading
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