pub enum GotchaSource {
AutoDetected {
command: String,
exit_code: i32,
},
AgentReported {
session_id: String,
},
CrossSessionCorrelated {
sessions: Vec<String>,
},
Promoted {
from_knowledge_key: String,
},
}Variants§
Implementations§
Source§impl GotchaSource
impl GotchaSource
pub fn decay_rate(&self) -> f32
Trait Implementations§
Source§impl Clone for GotchaSource
impl Clone for GotchaSource
Source§fn clone(&self) -> GotchaSource
fn clone(&self) -> GotchaSource
Returns a duplicate of the value. Read more
1.0.0 · 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 GotchaSource
impl Debug for GotchaSource
Source§impl<'de> Deserialize<'de> for GotchaSource
impl<'de> Deserialize<'de> for GotchaSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GotchaSource
impl RefUnwindSafe for GotchaSource
impl Send for GotchaSource
impl Sync for GotchaSource
impl Unpin for GotchaSource
impl UnsafeUnpin for GotchaSource
impl UnwindSafe for GotchaSource
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