pub struct RegexMatchError {
pub pattern: String,
pub message: String,
}Expand description
Error during regex matching.
Fields§
§pattern: String§message: StringTrait Implementations§
Source§impl Clone for RegexMatchError
impl Clone for RegexMatchError
Source§fn clone(&self) -> RegexMatchError
fn clone(&self) -> RegexMatchError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegexMatchError
impl Debug for RegexMatchError
Source§impl Display for RegexMatchError
impl Display for RegexMatchError
Source§impl Error for RegexMatchError
impl Error for RegexMatchError
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 RegexMatchError
impl RefUnwindSafe for RegexMatchError
impl Send for RegexMatchError
impl Sync for RegexMatchError
impl Unpin for RegexMatchError
impl UnsafeUnpin for RegexMatchError
impl UnwindSafe for RegexMatchError
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