Enum jsonptr::MalformedPointerError
source · pub enum MalformedPointerError {
NoLeadingSlash(String),
InvalidEncoding(String),
NotUtf8(NotUtf8Error),
}Expand description
Indicates that a Pointer was malformed.
Variants§
NoLeadingSlash(String)
Indicates that the Pointer was malformed because it did not contain a
leading slash ('/').
InvalidEncoding(String)
Indicates that the Pointer was malformed because it contained invalid encoding.
NotUtf8(NotUtf8Error)
NonUTF8
Trait Implementations§
source§impl Clone for MalformedPointerError
impl Clone for MalformedPointerError
source§fn clone(&self) -> MalformedPointerError
fn clone(&self) -> MalformedPointerError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MalformedPointerError
impl Debug for MalformedPointerError
source§impl Display for MalformedPointerError
impl Display for MalformedPointerError
source§impl From<FromUtf8Error> for MalformedPointerError
impl From<FromUtf8Error> for MalformedPointerError
source§fn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<MalformedPointerError> for Error
impl From<MalformedPointerError> for Error
source§fn from(err: MalformedPointerError) -> Self
fn from(err: MalformedPointerError) -> Self
Converts to this type from the input type.
source§impl From<NotUtf8Error> for MalformedPointerError
impl From<NotUtf8Error> for MalformedPointerError
source§fn from(err: NotUtf8Error) -> Self
fn from(err: NotUtf8Error) -> Self
Converts to this type from the input type.
source§impl PartialEq<MalformedPointerError> for MalformedPointerError
impl PartialEq<MalformedPointerError> for MalformedPointerError
source§fn eq(&self, other: &MalformedPointerError) -> bool
fn eq(&self, other: &MalformedPointerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.