pub struct TomlCodec;Expand description
Built-in TOML codec.
Decodes TOML into the canonical Value tree and encodes a value tree back
to TOML. The top-level value must be a table (TOML has no top-level scalar or
array document), and JSON null has no TOML representation — both surface as
typed errors rather than panics.
Trait Implementations§
Source§impl Codec for TomlCodec
impl Codec for TomlCodec
impl Copy for TomlCodec
Auto Trait Implementations§
impl Freeze for TomlCodec
impl RefUnwindSafe for TomlCodec
impl Send for TomlCodec
impl Sync for TomlCodec
impl Unpin for TomlCodec
impl UnsafeUnpin for TomlCodec
impl UnwindSafe for TomlCodec
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