pub struct StepOutcome {
pub outbound: Vec<OutboundMessage>,
pub transition: Option<PendingTransition>,
}Expand description
What tick returns.
Fields§
§outbound: Vec<OutboundMessage>Wire messages to ship. Ordered: peers iterated in
replica_set order so emission is deterministic per
tick.
transition: Option<PendingTransition>Optional transition the coordinator should run via
transition_to(target, signal). None when no
transition is warranted this tick.
Trait Implementations§
Source§impl Debug for StepOutcome
impl Debug for StepOutcome
Source§impl Default for StepOutcome
impl Default for StepOutcome
Source§fn default() -> StepOutcome
fn default() -> StepOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StepOutcome
impl RefUnwindSafe for StepOutcome
impl Send for StepOutcome
impl Sync for StepOutcome
impl Unpin for StepOutcome
impl UnsafeUnpin for StepOutcome
impl UnwindSafe for StepOutcome
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