Struct SmallIndexError

struct SmallIndexError { ... }

This error occurs when a small index could not be constructed.

This occurs when given an integer exceeding the maximum small index value.

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

Implementations

impl SmallIndexError

fn attempted(self: &Self) -> u64

Returns the value that could not be converted to a small index.

impl Clone for SmallIndexError

fn clone(self: &Self) -> SmallIndexError

impl Debug for SmallIndexError

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

impl Display for SmallIndexError

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

impl Eq for SmallIndexError

impl Error for SmallIndexError

impl Freeze for SmallIndexError

impl PartialEq for SmallIndexError

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

impl RefUnwindSafe for SmallIndexError

impl Send for SmallIndexError

impl StructuralPartialEq for SmallIndexError

impl Sync for SmallIndexError

impl Unpin for SmallIndexError

impl UnsafeUnpin for SmallIndexError

impl UnwindSafe for SmallIndexError

impl<T> Any for SmallIndexError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SmallIndexError

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

impl<T> BorrowMut for SmallIndexError

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

impl<T> CloneToUninit for SmallIndexError

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

impl<T> From for SmallIndexError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for SmallIndexError

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

impl<T> ToString for SmallIndexError

fn to_string(self: &Self) -> String

impl<T, U> Into for SmallIndexError

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 SmallIndexError

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

impl<T, U> TryInto for SmallIndexError

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