Enum scale_value::stringify::ParseComplexError
source · pub enum ParseComplexError {
InvalidStartingCharacterInIdent,
InvalidFieldName,
MissingFieldSeparator(char),
ExpectedCloserToMatch(char, usize),
}
Variants§
InvalidStartingCharacterInIdent
InvalidFieldName
MissingFieldSeparator(char)
ExpectedCloserToMatch(char, usize)
Implementations§
source§impl ParseComplexError
impl ParseComplexError
sourcepub fn at(self, loc: usize) -> ParseError
pub fn at(self, loc: usize) -> ParseError
Error at a specific location with no specific end
sourcepub fn at_one(self, loc: usize) -> ParseError
pub fn at_one(self, loc: usize) -> ParseError
Error at a specific location for the next character
sourcepub fn between(self, start: usize, end: usize) -> ParseError
pub fn between(self, start: usize, end: usize) -> ParseError
Error between two locations.
Trait Implementations§
source§impl Clone for ParseComplexError
impl Clone for ParseComplexError
source§fn clone(&self) -> ParseComplexError
fn clone(&self) -> ParseComplexError
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 ParseComplexError
impl Debug for ParseComplexError
source§impl Display for ParseComplexError
impl Display for ParseComplexError
source§impl From<ParseComplexError> for ParseErrorKind
impl From<ParseComplexError> for ParseErrorKind
source§fn from(original: ParseComplexError) -> ParseErrorKind
fn from(original: ParseComplexError) -> ParseErrorKind
Converts to this type from the input type.
source§impl PartialEq for ParseComplexError
impl PartialEq for ParseComplexError
source§fn eq(&self, other: &ParseComplexError) -> bool
fn eq(&self, other: &ParseComplexError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseComplexError
impl StructuralPartialEq for ParseComplexError
Auto Trait Implementations§
impl RefUnwindSafe for ParseComplexError
impl Send for ParseComplexError
impl Sync for ParseComplexError
impl Unpin for ParseComplexError
impl UnwindSafe for ParseComplexError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more