pub struct Selection {
pub subjects: Vec<Subject>,
pub only: Vec<String>,
pub skip: Vec<String>,
pub extra: Vec<Arc<dyn Probe>>,
}Expand description
Which steps to run.
Fields§
§subjects: Vec<Subject>Subjects to keep. Empty means all of them.
only: Vec<String>Step ids to keep. Empty means all of them; applied after subjects.
skip: Vec<String>Step ids to drop, applied last and winning over both fields above.
extra: Vec<Arc<dyn Probe>>Caller-supplied probes, appended after the built-in steps. See Probe.
Not filtered by subjects/only/skip: the caller assembled this list
itself and already decided what belongs in it. skip still removes one
by id, so a probe found to be misbehaving can be turned off without a
deploy.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Selection
impl !UnwindSafe for Selection
impl Freeze for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
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