pub enum ParseListMarkerError {
NoMarkers,
InvalidMarker(InvalidMarker),
ParseIntError(ParseIntError),
}Expand description
Some error occured when parsing a ListMarker from a &str
Variants§
NoMarkers
Did not contain the correct list markers.
InvalidMarker(InvalidMarker)
Invalid char where a list marker was expected
ParseIntError(ParseIntError)
Failed to parse an integer for ordered lists
Trait Implementations§
Source§impl Debug for ParseListMarkerError
impl Debug for ParseListMarkerError
Source§impl From<InvalidMarker> for ParseListMarkerError
impl From<InvalidMarker> for ParseListMarkerError
Source§fn from(value: InvalidMarker) -> Self
fn from(value: InvalidMarker) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseListMarkerError
impl From<ParseIntError> for ParseListMarkerError
Source§fn from(value: ParseIntError) -> Self
fn from(value: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseListMarkerError
impl PartialEq for ParseListMarkerError
impl Eq for ParseListMarkerError
impl StructuralPartialEq for ParseListMarkerError
Auto Trait Implementations§
impl Freeze for ParseListMarkerError
impl RefUnwindSafe for ParseListMarkerError
impl Send for ParseListMarkerError
impl Sync for ParseListMarkerError
impl Unpin for ParseListMarkerError
impl UnwindSafe for ParseListMarkerError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more