pub enum SetQueryParamError {
QueryParamIndexNotFound,
}Expand description
The enum of errors BetterUrl::set_query_param can return.
Variants§
QueryParamIndexNotFound
Returned when a query parameter with the specified index can’t be set/created.
Trait Implementations§
Source§impl Debug for SetQueryParamError
impl Debug for SetQueryParamError
Source§impl Display for SetQueryParamError
impl Display for SetQueryParamError
Source§impl Error for SetQueryParamError
impl Error for SetQueryParamError
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 SetQueryParamError
impl RefUnwindSafe for SetQueryParamError
impl Send for SetQueryParamError
impl Sync for SetQueryParamError
impl Unpin for SetQueryParamError
impl UnwindSafe for SetQueryParamError
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