[−][src]Enum boomerang::QueuingPolicy
Enumeration of different policies for handling events that succeed one another more rapidly than is allowed by a physical action's min. inter-arrival time.
Variants
For logical actions, the policy should always be NONE
.
For physical actions, the default policy is DEFER
, which is to increase the offsets of
newly-scheduled events so that the min. inter-arrival time is satisfied. This means that no
events will be ignored, but they will occur later. This policy has the drawback that it may
cause the event queue to grow indefinitely.
The DROP
policy ignores events that are scheduled too close to one another.
The UPDATE
policy does the following. If the time that a newly-scheduled event is in too
close proximity or is still on the event queue, the value carried by that event will be
updated with the value of the newly-scheduled event. If this is not possible because the
original event has already been popped off the queue, the DEFER
policy applies.
Trait Implementations
impl Debug for QueuingPolicy
[src]
impl Eq for QueuingPolicy
[src]
impl PartialEq<QueuingPolicy> for QueuingPolicy
[src]
fn eq(&self, other: &QueuingPolicy) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for QueuingPolicy
[src]
impl StructuralPartialEq for QueuingPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueuingPolicy
impl Send for QueuingPolicy
impl Sync for QueuingPolicy
impl Unpin for QueuingPolicy
impl UnwindSafe for QueuingPolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,