Struct overflow_error::CannotDivValue[][src]

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

CannotDiv with an attached value.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<T: PartialEq + ?Sized> PartialEq for CannotDivValue<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 CannotDivValue<T>
[src]

impl<T: Hash + ?Sized> Hash for CannotDivValue<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 CannotDivValue<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> From<DivValueByZero<T>> for CannotDivValue<T>
[src]

Performs the conversion.

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

Performs the conversion.

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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