Enum json_pointer::ParseError
[−]
[src]
pub enum ParseError {
InvalidEscape(String),
NoLeadingSlash,
}An error that can be encountered when parsing.
Variants
InvalidEscape(String)An invalid escape sequence was encountered, either a ~ escape or a
% escape.
NoLeadingSlashAn error caused by not having a leading slash on the JSON pointer.
For example, the string a/b/c is not a valid JSON pointer, while
/a/b/c is.
Trait Implementations
impl Clone for ParseError[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for ParseError[src]
impl PartialEq for ParseError[src]
fn eq(&self, __arg_0: &ParseError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
This method tests for !=.