Struct UnicodeWordError

pub struct UnicodeWordError(/* private field */);

An error that occurs when the Unicode-aware \w class is unavailable.

This error can occur when the data tables necessary for the Unicode aware Perl character class \w are unavailable. This only occurs when the unicode-perl feature is disabled. (The feature is enabled by default.)

Trait Implementations

impl Debug for UnicodeWordError

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

impl Display for UnicodeWordError

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

impl Error for UnicodeWordError

Auto Trait Implementations

impl Freeze for UnicodeWordError

impl RefUnwindSafe for UnicodeWordError

impl Send for UnicodeWordError

impl Sync for UnicodeWordError

impl Unpin for UnicodeWordError

impl UnsafeUnpin for UnicodeWordError

impl UnwindSafe for UnicodeWordError

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> From<T> for UnicodeWordError

fn from(t: T) -> T

Returns the argument unchanged.

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

fn to_string(&self) -> String

impl<T, U> Into<U> for UnicodeWordError 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 UnicodeWordError where U: Into<T>,

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

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

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