pub enum Classification {
Failure {
label: String,
output: String,
},
Passthrough {
output: String,
},
Success {
label: String,
summary: String,
},
Large {
label: String,
output: String,
size: usize,
},
}Variants§
Failure
Exit ≠ 0. Filtered failure output.
Passthrough
Exit 0, output ≤ threshold. Verbatim.
Success
Exit 0, output > threshold, pattern matched with summary.
Large
Exit 0, output > threshold, no pattern. Content needs indexing.
Auto Trait Implementations§
impl Freeze for Classification
impl RefUnwindSafe for Classification
impl Send for Classification
impl Sync for Classification
impl Unpin for Classification
impl UnsafeUnpin for Classification
impl UnwindSafe for Classification
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