Struct StateIDError

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

This error occurs when an ID 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 StateIDError

fn attempted(&self) -> u64

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

Trait Implementations

impl Clone for StateIDError

fn clone(&self) -> Self

impl Debug for StateIDError

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

impl Display for StateIDError

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

impl Eq for StateIDError

impl Error for StateIDError

impl PartialEq for StateIDError

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

impl StructuralPartialEq for StateIDError

Auto Trait Implementations

impl Freeze for StateIDError

impl RefUnwindSafe for StateIDError

impl Send for StateIDError

impl Sync for StateIDError

impl Unpin for StateIDError

impl UnsafeUnpin for StateIDError

impl UnwindSafe for StateIDError

Blanket Implementations

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

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

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

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

impl<T> From<T> for StateIDError

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

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

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

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

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