pub enum PolicyNode {
Show 14 variants
Periodic(Duration),
Exponential(ExponentialConfig),
Fibonacci(FibonacciConfig),
Immediate,
Never,
CountBox(CountBoxConfig),
TimeBox(TimeBoxConfig),
ClampDelay(ClampConfig),
AddDelay(AddDelayConfig),
Jitter(JitterConfig),
FilteredOn(FilteredConfig),
AndThen((PolicyNodeIndex, PolicyNodeIndex)),
PolicyUnion((PolicyNodeIndex, PolicyNodeIndex)),
PolicyIntersect((PolicyNodeIndex, PolicyNodeIndex)),
}Variants§
Periodic(Duration)
Exponential(ExponentialConfig)
Fibonacci(FibonacciConfig)
Immediate
Never
CountBox(CountBoxConfig)
TimeBox(TimeBoxConfig)
ClampDelay(ClampConfig)
AddDelay(AddDelayConfig)
Jitter(JitterConfig)
FilteredOn(FilteredConfig)
AndThen((PolicyNodeIndex, PolicyNodeIndex))
PolicyUnion((PolicyNodeIndex, PolicyNodeIndex))
PolicyIntersect((PolicyNodeIndex, PolicyNodeIndex))
Trait Implementations§
Source§impl Clone for PolicyNode
impl Clone for PolicyNode
Source§fn clone(&self) -> PolicyNode
fn clone(&self) -> PolicyNode
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 moreAuto Trait Implementations§
impl Freeze for PolicyNode
impl RefUnwindSafe for PolicyNode
impl Send for PolicyNode
impl Sync for PolicyNode
impl Unpin for PolicyNode
impl UnsafeUnpin for PolicyNode
impl UnwindSafe for PolicyNode
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