[][src]Enum deoxy::CoordMessage

pub enum CoordMessage {
    Continue,
    Halt,
    Stop,
    ExchangeStop(MotorId),
    Start(ProtocolOption<Uuid>),
    Subscribe(Box<dyn Update>),
}

A message sent to control the coordinator.

Variants

Continue

The user has instructed us to move on to the next step.

Halt

We have been asked to immediately stop the program.

Stop

We have been asked to stop the program after the next step.

The sample will be left in whatever buffer it is in; to resuspend it in a different buffer, use ExchangeStop.

ExchangeStop(MotorId)

We have been asked to finish this step, exchange the buffer, and stop.

Start(ProtocolOption<Uuid>)

The user has instructed us to start a new protocol.

If the second parameter is specified, it is used as the label for the job; otherwise, one is generated.

Subscribe(Box<dyn Update>)

Used to subscribe to coordinator updates.

Trait Implementations

impl Debug for Message[src]

impl Handler<Message> for Coordinator[src]

type Result = Result<(), Error>

The type of value that this handle will return

impl Message for Message[src]

type Result = Result<(), Error>

The type of value that this message will resolved with if it is successful. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self