[−][src]Enum access_json::QueryParseErr
An enum representing errors possible while parsing a query.
All usize
fields in these errors represent the character index where the parser detected the failure.
Variants
BadCharacter(usize)
Each parsable element must start with '.' or '['
Need a field name; encountered a ".." in the query.
MissingNumber(usize)
Need a number; encountered a "[]" in the query.
BadArray(usize)
Got some kind of non-decimal digit inside the brackets "[]".
BadField(usize)
Got some kind of bad character (or whitespace) inside a '.'
UnexpectedEOF(char)
Reached the end of the string while looking for a specific character (probably ']')
Found a strange character at the given position.
Could not parse the number in your brackets to a usize. String is the IntError in question.
Trait Implementations
impl Clone for QueryParseErr
[src]
fn clone(&self) -> QueryParseErr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for QueryParseErr
[src]
impl Display for QueryParseErr
[src]
impl Eq for QueryParseErr
[src]
impl Error for QueryParseErr
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<QueryParseErr> for QueryParseErr
[src]
fn eq(&self, other: &QueryParseErr) -> bool
[src]
fn ne(&self, other: &QueryParseErr) -> bool
[src]
impl Serialize for QueryParseErr
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for QueryParseErr
[src]
impl StructuralPartialEq for QueryParseErr
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryParseErr
impl Send for QueryParseErr
impl Sync for QueryParseErr
impl Unpin for QueryParseErr
impl UnwindSafe for QueryParseErr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,