pub struct BoundsError { /* private fields */ }Expand description
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§
Source§impl Clone for BoundsError
impl Clone for BoundsError
impl Copy for BoundsError
Source§impl Debug for BoundsError
impl Debug for BoundsError
Source§impl Display for BoundsError
impl Display for BoundsError
impl Eq for BoundsError
Source§impl From<BoundsError> for RangeError
impl From<BoundsError> for RangeError
Source§fn from(err: BoundsError) -> RangeError
fn from(err: BoundsError) -> RangeError
Converts to this type from the input type.
Source§impl PartialEq for BoundsError
impl PartialEq for BoundsError
impl StructuralPartialEq for BoundsError
Auto Trait Implementations§
impl Forget for BoundsError
impl Freeze for BoundsError
impl Move 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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more