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
Source§fn clone(&self) -> BoundsError
fn clone(&self) -> BoundsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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 Format for BoundsErrorwhere
BoundsErrorKind: Format,
impl Format for BoundsErrorwhere
BoundsErrorKind: Format,
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 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§
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