pub enum RefreshVerdict {
Ok,
AlreadyStale,
Unverified,
InvalidMetadata {
field: String,
value: Option<String>,
},
InvalidCitation {
citation: String,
},
PathMissing {
path: String,
},
PathDrifted {
path: String,
},
CommandSkipped {
command: String,
},
ProbeFailed {
target: String,
error: String,
},
}Expand description
One citation verdict from refresh_knowledge.
Variants§
Ok
AlreadyStale
Unverified
InvalidMetadata
InvalidCitation
PathMissing
PathDrifted
CommandSkipped
ProbeFailed
Implementations§
Source§impl RefreshVerdict
impl RefreshVerdict
Sourcepub fn is_check_needed(&self) -> bool
pub fn is_check_needed(&self) -> bool
Findings that should fail kranz knowledge refresh (exit 1).
already-stale and command-skipped are reported but do not fail.
Trait Implementations§
Source§impl Clone for RefreshVerdict
impl Clone for RefreshVerdict
Source§fn clone(&self) -> RefreshVerdict
fn clone(&self) -> RefreshVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefreshVerdict
impl Debug for RefreshVerdict
impl Eq for RefreshVerdict
Source§impl PartialEq for RefreshVerdict
impl PartialEq for RefreshVerdict
Source§impl Serialize for RefreshVerdict
impl Serialize for RefreshVerdict
impl StructuralPartialEq for RefreshVerdict
Auto Trait Implementations§
impl Freeze for RefreshVerdict
impl RefUnwindSafe for RefreshVerdict
impl Send for RefreshVerdict
impl Sync for RefreshVerdict
impl Unpin for RefreshVerdict
impl UnsafeUnpin for RefreshVerdict
impl UnwindSafe for RefreshVerdict
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