pub enum RanError<T> {
Type(T),
Dimensions(T),
Range(T),
Other(T),
}
Expand description
Custom RStats Error
Variants§
Type(T)
Error indicating unexpected type of the wrapped random data
Dimensions(T)
Non-positive data dimensions
Range(T)
Min is not less than max
Other(T)
Other error converted to RanError
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for RanError<T>where
T: RefUnwindSafe,
impl<T> Send for RanError<T>where
T: Send,
impl<T> Sync for RanError<T>where
T: Sync,
impl<T> Unpin for RanError<T>where
T: Unpin,
impl<T> UnwindSafe for RanError<T>where
T: UnwindSafe,
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