pub enum ScScrapingError<'a> {
Citizen {
message: Cow<'a, str>,
},
Organization {
message: Cow<'a, str>,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl<'a> Debug for ScScrapingError<'a>
impl<'a> Debug for ScScrapingError<'a>
Source§impl<'de, 'a> Deserialize<'de> for ScScrapingError<'a>
impl<'de, 'a> Deserialize<'de> for ScScrapingError<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> Display for ScScrapingError<'a>
impl<'a> Display for ScScrapingError<'a>
Source§impl<'a> Error for ScScrapingError<'a>
impl<'a> Error for ScScrapingError<'a>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl<'a> Freeze for ScScrapingError<'a>
impl<'a> RefUnwindSafe for ScScrapingError<'a>
impl<'a> Send for ScScrapingError<'a>
impl<'a> Sync for ScScrapingError<'a>
impl<'a> Unpin for ScScrapingError<'a>
impl<'a> UnwindSafe for ScScrapingError<'a>
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