Struct serde_json::de::StrRead [−][src]
pub struct StrRead<'a> { /* fields omitted */ }
JSON input source that reads from a UTF-8 string.
Methods
impl<'a> StrRead<'a>
[src]
impl<'a> StrRead<'a>
Trait Implementations
impl<'a> Read<'a> for StrRead<'a>
[src]
impl<'a> Read<'a> for StrRead<'a>
fn next(&mut self) -> Result<Option<u8>>
[src]
fn next(&mut self) -> Result<Option<u8>>
fn peek(&mut self) -> Result<Option<u8>>
[src]
fn peek(&mut self) -> Result<Option<u8>>
fn discard(&mut self)
[src]
fn discard(&mut self)
fn position(&self) -> Position
[src]
fn position(&self) -> Position
fn peek_position(&self) -> Position
[src]
fn peek_position(&self) -> Position
fn byte_offset(&self) -> usize
[src]
fn byte_offset(&self) -> usize
fn parse_str<'s>(
&'s mut self,
scratch: &'s mut Vec<u8>
) -> Result<Reference<'a, 's, str>>
[src]
fn parse_str<'s>(
&'s mut self,
scratch: &'s mut Vec<u8>
) -> Result<Reference<'a, 's, str>>
fn parse_str_raw<'s>(
&'s mut self,
scratch: &'s mut Vec<u8>
) -> Result<Reference<'a, 's, [u8]>>
[src]
fn parse_str_raw<'s>(
&'s mut self,
scratch: &'s mut Vec<u8>
) -> Result<Reference<'a, 's, [u8]>>
fn ignore_str(&mut self) -> Result<()>
[src]
fn ignore_str(&mut self) -> Result<()>