pub enum Error<T, S> {
ElapsedTimer(T),
InputSwitch(S),
}
Expand description
Controls errors container.
Variants§
Trait Implementations§
impl<T: Copy, S: Copy> Copy for Error<T, S>
impl<T, S> StructuralPartialEq for Error<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for Error<T, S>
impl<T, S> RefUnwindSafe for Error<T, S>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<T, S> Send for Error<T, S>
impl<T, S> Sync for Error<T, S>
impl<T, S> Unpin for Error<T, S>
impl<T, S> UnwindSafe for Error<T, S>where
T: UnwindSafe,
S: 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