pub enum EvidenceSource {
Show 15 variants
None,
GoalTrace,
Mandates,
GoalRecords,
ConversationHistory,
RemoteRead,
NodeReading,
NodeAction,
WebSearch,
FileRead,
FileSearch,
FileWrite,
Shell,
HostInfo,
Diagnostics,
}Expand description
What a substantive result from a tool can serve as evidence for, by the
kind of source it reads (see ToolDispatchFacts::evidence). The
capabilities each source supports live with the evidence ontology.
Variants§
None
No static evidence model: what the call supports is learnt from its result’s own semantics.
GoalTrace
Goal and task forensics: a targeted trace, or a recent listing.
Mandates
The owner’s mandates, by action.
GoalRecords
Goal tasks and automations: their state and record.
ConversationHistory
Past conversation.
RemoteRead
A remote page or API, read directly.
NodeReading
A connected node’s readings.
NodeAction
What a connected node did.
WebSearch
A web search: advisory.
FileRead
A local file read.
FileSearch
A local file search.
FileWrite
A local file edited in place: the edit read the file under its write fence and its result shows what the file now holds, so a successful one observes the file’s current state as well as the write’s outcome.
Shell
A shell on this computer.
HostInfo
This computer’s state.
Diagnostics
The daemon’s own diagnostics.
Implementations§
Source§impl EvidenceSource
impl EvidenceSource
Sourcepub const MODELED: [EvidenceSource; 14]
pub const MODELED: [EvidenceSource; 14]
Every source with an evidence model.
Trait Implementations§
Source§impl Clone for EvidenceSource
impl Clone for EvidenceSource
Source§fn clone(&self) -> EvidenceSource
fn clone(&self) -> EvidenceSource
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for EvidenceSource
Source§impl Debug for EvidenceSource
impl Debug for EvidenceSource
Source§impl Default for EvidenceSource
impl Default for EvidenceSource
Source§fn default() -> EvidenceSource
fn default() -> EvidenceSource
impl Eq for EvidenceSource
Source§impl Hash for EvidenceSource
impl Hash for EvidenceSource
Source§impl PartialEq for EvidenceSource
impl PartialEq for EvidenceSource
impl StructuralPartialEq for EvidenceSource
Auto Trait Implementations§
impl Forget for EvidenceSource
impl Freeze for EvidenceSource
impl Move for EvidenceSource
impl RefUnwindSafe for EvidenceSource
impl Send for EvidenceSource
impl Sync for EvidenceSource
impl Unpin for EvidenceSource
impl UnsafeUnpin for EvidenceSource
impl UnwindSafe for EvidenceSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more