pub enum Cadence {
EveryRound,
OnChange {
refresh: Option<u64>,
},
}Expand description
When an agent broadcasts its state.
Variants§
EveryRound
Every round, as CBBA is published.
OnChange
Only in rounds where the agent’s winners or bids differ from its last message, and,
with refresh, at least every that many rounds.
Trait Implementations§
impl Copy for Cadence
impl Eq for Cadence
impl StructuralPartialEq for Cadence
Auto Trait Implementations§
impl Forget for Cadence
impl Freeze for Cadence
impl Move for Cadence
impl RefUnwindSafe for Cadence
impl Send for Cadence
impl Sync for Cadence
impl Unpin for Cadence
impl UnsafeUnpin for Cadence
impl UnwindSafe for Cadence
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