pub enum FromHtmlStrError {
MissingPageData,
InvalidJson(Error),
}
Expand description
An error that may occur while parsing a ScrapedStashInfo
from a html str.
Variants§
Trait Implementations§
source§impl Debug for FromHtmlStrError
impl Debug for FromHtmlStrError
source§impl Display for FromHtmlStrError
impl Display for FromHtmlStrError
source§impl Error for FromHtmlStrError
impl Error for FromHtmlStrError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for FromHtmlStrError
impl From<Error> for FromHtmlStrError
source§impl From<FromHtmlStrError> for Error
impl From<FromHtmlStrError> for Error
source§fn from(source: FromHtmlStrError) -> Self
fn from(source: FromHtmlStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromHtmlStrError
impl !RefUnwindSafe for FromHtmlStrError
impl Send for FromHtmlStrError
impl Sync for FromHtmlStrError
impl Unpin for FromHtmlStrError
impl !UnwindSafe for FromHtmlStrError
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