pub enum ParameterError<Input>where
Input: Display,{
NotFound(Input),
RenameRegexGroup {
parameter: Input,
re: String,
err: Box<Error>,
},
}
Available on crate feature
into-regex
only.Expand description
Possible Parameter
errors being used in an Expression
.
Variants§
Trait Implementations§
source§impl<Input> Clone for ParameterError<Input>where
Input: Display + Clone,
impl<Input> Clone for ParameterError<Input>where Input: Display + Clone,
source§fn clone(&self) -> ParameterError<Input>
fn clone(&self) -> ParameterError<Input>
Returns a copy 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<Input> Error for ParameterError<Input>where
Input: Debug + Display + Error + 'static + Display,
ParameterError<Input>: Debug + Display,
impl<Input> Error for ParameterError<Input>where Input: Debug + Display + Error + 'static + Display, ParameterError<Input>: Debug + Display,
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()
Auto Trait Implementations§
impl<Input> RefUnwindSafe for ParameterError<Input>where Input: RefUnwindSafe,
impl<Input> Send for ParameterError<Input>where Input: Send,
impl<Input> Sync for ParameterError<Input>where Input: Sync,
impl<Input> Unpin for ParameterError<Input>where Input: Unpin,
impl<Input> UnwindSafe for ParameterError<Input>where Input: UnwindSafe,
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