Struct overflow_error::WouldOverflowValue[][src]

pub struct WouldOverflowValue<T: ?Sized>(_);

WouldOverflow with an attached value.

Trait Implementations

impl<T> From<WouldOverflowValue<T>> for CannotDivValue<T>
[src]

Performs the conversion.

impl<T: Copy + ?Sized> Copy for WouldOverflowValue<T>
[src]

impl<T: Clone + ?Sized> Clone for WouldOverflowValue<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug + ?Sized> Debug for WouldOverflowValue<T>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq + ?Sized> PartialEq for WouldOverflowValue<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq + ?Sized> Eq for WouldOverflowValue<T>
[src]

impl<T: Hash + ?Sized> Hash for WouldOverflowValue<T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: ?Sized> ErrorWith<T> for WouldOverflowValue<T>
[src]

This error, without the attached value.

Gets the underlying error.

References the attached value.

Consumes this error and returns the attached value.

Discards the attached value and returns the underlying error.

Maps a function over the attached value.

impl<T: ?Sized + Display> Display for WouldOverflowValue<T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T: ?Sized> Send for WouldOverflowValue<T> where
    T: Send

impl<T: ?Sized> Sync for WouldOverflowValue<T> where
    T: Sync