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 Freeze for WorkloadSource
impl RefUnwindSafe for WorkloadSource
impl Send for WorkloadSource
impl Sync for WorkloadSource
impl Unpin for WorkloadSource
impl UnsafeUnpin for WorkloadSource
impl UnwindSafe for WorkloadSource
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