pub struct LoadResult {
pub loaded: Vec<TowerRule>,
pub warnings: Vec<(RuleId, Vec<RuleWarning>)>,
pub skipped: Vec<SkippedFile>,
}Expand description
Output of RuleStore::load_all.
Fields§
§loaded: Vec<TowerRule>Successfully parsed and validated rules.
warnings: Vec<(RuleId, Vec<RuleWarning>)>Per-rule non-fatal warnings from semantic validation (empty IDs, etc.).
skipped: Vec<SkippedFile>Files that were present but skipped.
Auto Trait Implementations§
impl Freeze for LoadResult
impl RefUnwindSafe for LoadResult
impl Send for LoadResult
impl Sync for LoadResult
impl Unpin for LoadResult
impl UnsafeUnpin for LoadResult
impl UnwindSafe for LoadResult
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