pub struct Proposal<R, W, Ext, Rng> {
pub rng: Rng,
pub elapsed: Duration,
pub kind: ProposalKind<R, W, Ext>,
}
Expand description
The proposal is the input to the state machine.
It provides timer, io, random number generator, and user-defined data.
impl<R, W, Ext, Rng> Proposal<R, W, Ext, Rng>
Formats the value using the given formatter. Read more
impl<R, W, Ext, Rng> Send for Proposal<R, W, Ext, Rng> where
Ext: Send,
R: Send,
Rng: Send,
W: Send,
impl<R, W, Ext, Rng> Sync for Proposal<R, W, Ext, Rng> where
Ext: Sync,
R: Sync,
Rng: Sync,
W: Sync,
impl<R, W, Ext, Rng> Unpin for Proposal<R, W, Ext, Rng> where
Ext: Unpin,
R: Unpin,
Rng: Unpin,
W: Unpin,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,