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]

[src]

Performs the conversion.

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.

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

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

[src]

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

1.3.0
[src]

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.

[src]

Gets the underlying error.

[src]

References the attached value.

[src]

Consumes this error and returns the attached value.

[src]

Discards the attached value and returns the underlying error.

[src]

Maps a function over the attached value.

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

[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