pub enum WorkloadSource {
File(PathBuf),
Catalog {
name: String,
source: String,
},
}Expand description
Where a verification target’s rule text and run reference come from. Mirrors
nmbrs run’s workload=… resolution.
Variants§
File(PathBuf)
A workload file on disk: run by (absolute) path, rules from the file.
Catalog
A bundled catalog workload: run by name, rules from the embedded source.
Auto Trait Implementations§
impl Forget for WorkloadSource
impl Freeze for WorkloadSource
impl Move for WorkloadSource
impl RefUnwindSafe for WorkloadSource
impl Send for WorkloadSourcewhere
RawVecInner: Send,
impl Sync for WorkloadSourcewhere
RawVecInner: Sync,
impl Unpin for WorkloadSource
impl UnsafeUnpin for WorkloadSource
impl UnwindSafe for WorkloadSourcewhere
RawVecInner: UnwindSafe,
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