Struct GroupInfoError

pub struct GroupInfoError { /* private fields */ }

An error that may occur when building a GroupInfo.

Building a GroupInfo does a variety of checks to make sure the capturing groups satisfy a number of invariants. This includes, but is not limited to, ensuring that the first capturing group is unnamed and that there are no duplicate capture groups for a specific pattern.

Trait Implementations

impl Clone for GroupInfoError

fn clone(&self) -> Self

impl Debug for GroupInfoError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for GroupInfoError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Error for GroupInfoError

fn source(&self) -> Option<&dyn Error + 'static>

Auto Trait Implementations

impl Freeze for GroupInfoError

impl RefUnwindSafe for GroupInfoError

impl Send for GroupInfoError

impl Sync for GroupInfoError

impl Unpin for GroupInfoError

impl UnsafeUnpin for GroupInfoError

impl UnwindSafe for GroupInfoError

Blanket Implementations

impl<T> Any for GroupInfoError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for GroupInfoError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for GroupInfoError where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for GroupInfoError where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for GroupInfoError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for GroupInfoError where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for GroupInfoError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for GroupInfoError where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for GroupInfoError where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for GroupInfoError where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>