[−][src]Enum jsondata::Error
Variants
ParseFail(String)
Failed to parse JSON text.
AddFail(String)
Failed to add two Json values.
SubFail(String)
Failed to subract two Json values.
MulFail(String)
Failed to multiply two Json values.
DivFail(String)
Failed to divide two Json values.
RemFail(String)
Failed to find reminder between two Json values.
NegFail(String)
Failed to negate Json value.
ShlFail(String)
Failed to left shift Json value.
ShrFail(String)
Failed to right shift Json value.
IndexFail(String)
Failed to index into Json value.
IndexOutofBound(isize)
When indexing a Json array with out of bound index.
NotAnIndex(String)
When parsing an invalid array index.
NotAnArray(String)
When Json value is expected to be an array, but it is not.
NotAnObject(String)
When Json value is expected to be an object, but it is not.
NotAContainer(String)
When json-pointer is stuck with non-container type. Only array and object are treated as container type.
PropertyNotFound(String)
When trying to lookup a Json object with missing property.
AppendString(String)
While appending a non string value with Json string.
InvalidNumber(String)
Found JSON text that looks like number, but not well formed.
JptrFail(String)
Failed processing json-pointer.
IoError(String)
std::io::Error
Trait Implementations
impl PartialEq<Error> for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
Auto Trait Implementations
Blanket Implementations
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,