pub enum PermalinkError {
InvalidUrl(Box<ParseError>),
InvalidPermalink,
UnknownCountry(String),
}Variants§
Trait Implementations§
Source§impl Debug for PermalinkError
impl Debug for PermalinkError
Source§impl Display for PermalinkError
impl Display for PermalinkError
Source§impl Error for PermalinkError
impl Error for PermalinkError
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()
Source§impl From<ParseError> for PermalinkError
impl From<ParseError> for PermalinkError
Source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PermalinkError
impl PartialEq for PermalinkError
impl Eq for PermalinkError
impl StructuralPartialEq for PermalinkError
Auto Trait Implementations§
impl Freeze for PermalinkError
impl RefUnwindSafe for PermalinkError
impl Send for PermalinkError
impl Sync for PermalinkError
impl Unpin for PermalinkError
impl UnwindSafe for PermalinkError
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