pub enum ConstValueError {
NonConst,
Negative,
InvalidType,
}Variants§
Trait Implementations§
Source§impl Debug for ConstValueError
impl Debug for ConstValueError
Source§impl From<Infallible> for ConstValueError
impl From<Infallible> for ConstValueError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConstValueError
impl RefUnwindSafe for ConstValueError
impl Send for ConstValueError
impl Sync for ConstValueError
impl Unpin for ConstValueError
impl UnwindSafe for ConstValueError
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