pub enum SlugDecodeError {
NotASlug(String),
TooLong(String),
}
Variants§
Trait Implementations§
Source§impl Clone for SlugDecodeError
impl Clone for SlugDecodeError
Source§fn clone(&self) -> SlugDecodeError
fn clone(&self) -> SlugDecodeError
Returns a duplicate 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 SlugDecodeError
impl Debug for SlugDecodeError
Source§impl Display for SlugDecodeError
impl Display for SlugDecodeError
Source§impl Error for SlugDecodeError
impl Error for SlugDecodeError
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 Freeze for SlugDecodeError
impl RefUnwindSafe for SlugDecodeError
impl Send for SlugDecodeError
impl Sync for SlugDecodeError
impl Unpin for SlugDecodeError
impl UnwindSafe for SlugDecodeError
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