Struct GroupInfoError

struct GroupInfoError { ... }

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.

Implementations

impl Clone for GroupInfoError

fn clone(self: &Self) -> GroupInfoError

impl Debug for GroupInfoError

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

impl Display for GroupInfoError

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

impl Error for GroupInfoError

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

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

impl<T> Any for GroupInfoError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for GroupInfoError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for GroupInfoError

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

impl<T> CloneToUninit for GroupInfoError

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

impl<T> From for GroupInfoError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for GroupInfoError

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for GroupInfoError

fn to_string(self: &Self) -> String

impl<T, U> Into for GroupInfoError

fn into(self: 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 for GroupInfoError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for GroupInfoError

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