Enum goose::GooseScheduler [−][src]
pub enum GooseScheduler {
RoundRobin,
Serial,
Random,
}
Expand description
Used to define the order GooseTaskSet
s and
GooseTask
s are allocated.
In order to configure the scheduler, and to see examples of the different scheduler
variants, review the
GooseAttack::set_scheduler
documentation.
Variants
Allocate one of each available type at a time (default).
Allocate in the order and weighting defined.
Allocate in a random order.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GooseScheduler
impl Send for GooseScheduler
impl Sync for GooseScheduler
impl Unpin for GooseScheduler
impl UnwindSafe for GooseScheduler
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more