Struct PatternIDError

struct PatternIDError(_)

This error occurs when a value could not be constructed.

This occurs when given an integer exceeding the maximum allowed value.

When the std feature is enabled, this implements the Error trait.

Implementations

impl PatternIDError

fn attempted(self: &Self) -> u64

Returns the value that could not be converted to an ID.

impl Clone for PatternIDError

fn clone(self: &Self) -> PatternIDError

impl Debug for PatternIDError

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

impl Display for PatternIDError

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

impl Eq for PatternIDError

impl Error for PatternIDError

impl Freeze for PatternIDError

impl PartialEq for PatternIDError

fn eq(self: &Self, other: &PatternIDError) -> bool

impl RefUnwindSafe for PatternIDError

impl Send for PatternIDError

impl StructuralPartialEq for PatternIDError

impl Sync for PatternIDError

impl Unpin for PatternIDError

impl UnsafeUnpin for PatternIDError

impl UnwindSafe for PatternIDError

impl<T> Any for PatternIDError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for PatternIDError

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

impl<T> BorrowMut for PatternIDError

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

impl<T> CloneToUninit for PatternIDError

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

impl<T> From for PatternIDError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for PatternIDError

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

impl<T> ToString for PatternIDError

fn to_string(self: &Self) -> String

impl<T, U> Into for PatternIDError

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 PatternIDError

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

impl<T, U> TryInto for PatternIDError

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