pub enum ErrParam {
Int(i32),
Str(String),
}Expand description
A value substituted into an error message.
Variants§
Trait Implementations§
impl Eq for ErrParam
impl StructuralPartialEq for ErrParam
Auto Trait Implementations§
impl Forget for ErrParam
impl Freeze for ErrParam
impl Move for ErrParam
impl RefUnwindSafe for ErrParam
impl Send for ErrParamwhere
RawVecInner: Send,
impl Sync for ErrParamwhere
RawVecInner: Sync,
impl Unpin for ErrParam
impl UnsafeUnpin for ErrParam
impl UnwindSafe for ErrParamwhere
RawVecInner: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.