pub struct Json;Implementations§
Trait Implementations§
Source§impl Parser for Json
impl Parser for Json
Source§fn supported_format_list(&self) -> Vec<String>
fn supported_format_list(&self) -> Vec<String>
Supported format list (e.g. “yml”)
Source§fn is_format_supported(&self, bytes: &[u8]) -> Option<bool>
fn is_format_supported(&self, bytes: &[u8]) -> Option<bool>
Checks if provided byte slice is ok for future parsing. (e.g. is it YAML at all or not)
fn parse(&self, bytes: &[u8]) -> Result<Input, Error>
impl Copy for Json
Auto Trait Implementations§
impl Freeze for Json
impl RefUnwindSafe for Json
impl Send for Json
impl Sync for Json
impl Unpin for Json
impl UnwindSafe for Json
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