pub enum ParameterError<Input> {
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> Clone for ParameterError<Input>
impl<Input: Clone> Clone for ParameterError<Input>
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> Debug for ParameterError<Input>where
Input: Debug,
impl<Input> Debug for ParameterError<Input>where
Input: Debug,
Source§impl<Input> Display for ParameterError<Input>where
Input: Display,
impl<Input> Display for ParameterError<Input>where
Input: Display,
Source§impl<Input> Error for ParameterError<Input>
impl<Input> Error for ParameterError<Input>
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<Input> From<ParameterError<Input>> for Error<Input>
impl<Input> From<ParameterError<Input>> for Error<Input>
Source§fn from(value: ParameterError<Input>) -> Self
fn from(value: ParameterError<Input>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Input> Freeze for ParameterError<Input>where
Input: Freeze,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more