pub enum EventStrategy {
TimeBased,
CountBased,
ConditionalBased,
}Expand description
Event generation strategy
Variants§
TimeBased
Time-based event generation
CountBased
Count-based event generation
ConditionalBased
Condition-based event generation
Trait Implementations§
Source§impl Clone for EventStrategy
impl Clone for EventStrategy
Source§fn clone(&self) -> EventStrategy
fn clone(&self) -> EventStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventStrategy
impl Debug for EventStrategy
Source§impl<'de> Deserialize<'de> for EventStrategy
impl<'de> Deserialize<'de> for EventStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EventStrategy
impl PartialEq for EventStrategy
Source§impl Serialize for EventStrategy
impl Serialize for EventStrategy
impl Eq for EventStrategy
impl StructuralPartialEq for EventStrategy
Auto Trait Implementations§
impl Freeze for EventStrategy
impl RefUnwindSafe for EventStrategy
impl Send for EventStrategy
impl Sync for EventStrategy
impl Unpin for EventStrategy
impl UnwindSafe for EventStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.