Struct BoundsError

pub struct BoundsError { /* private fields */ }

The error type used by the trait implementations of Bounds in this crate.

Callers can think of this as a single unifying error value that combines all implementations of Bounds in this crate. Internally, it's an enum with each variant corresponding to a single implementation of Bounds. Each variant has a field containing a zero-sized RawBoundsError<B>, where B is the type implementing Bounds.

Trait Implementations

impl Clone for BoundsError

fn clone(&self) -> Self

impl Copy for BoundsError

impl Debug for BoundsError

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

impl Display for BoundsError

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

impl Eq for BoundsError

impl PartialEq for BoundsError

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

impl StructuralPartialEq for BoundsError

Auto Trait Implementations

impl Freeze for BoundsError

impl RefUnwindSafe for BoundsError

impl Send for BoundsError

impl Sync for BoundsError

impl Unpin for BoundsError

impl UnsafeUnpin for BoundsError

impl UnwindSafe for BoundsError

Blanket Implementations

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

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

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

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

impl<T> From<T> for BoundsError

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

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

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

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

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