pub enum Step {
Perfuse(MotorId, Option<Duration>),
PerfusePrompt(MotorId, Notification, Duration, Notification),
}
Expand description
Represents a high-level step to be taken in a protocol.
Variants§
Perfuse(MotorId, Option<Duration>)
The specified motor should fully perfuse the tissue for the given duration (or until
otherwise instructed if None
).
PerfusePrompt(MotorId, Notification, Duration, Notification)
The system should fully perfuse the tissue with the given solution, prompt the user with the given message, await acknowledgement, wait for the specified duration, and then notify the user again.
Trait Implementations§
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
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