pub enum Action {
Perfuse(MotorId),
Sleep(Duration),
Hail,
Drain,
Finish,
Notify(Notification),
}
Expand description
Represents a specific action to be run.
Variants§
Perfuse(MotorId)
Perfuse with the specified solution until a full volume is reached, then close the valve and turn off the pump.
Sleep(Duration)
Wait for the specified duration.
Hail
Wait for the user to continue.
Drain
Drain until empty, then turn off the pump.
Finish
Finalize the job and notify the user.
Notify(Notification)
Notify the user.
Implementations§
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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