pub struct PluginExecutionResult { /* private fields */ }Expand description
Successful execution receipt. Failures are returned as PluginError.
Implementations§
Source§impl PluginExecutionResult
impl PluginExecutionResult
Sourcepub fn observations(&self) -> &[Evidence]
pub fn observations(&self) -> &[Evidence]
Host-normalized evidence observations.
Sourcepub fn into_observations(self) -> Vec<Evidence>
pub fn into_observations(self) -> Vec<Evidence>
Consumes the receipt and returns normalized observations.
Sourcepub const fn usage(&self) -> PluginUsage
pub const fn usage(&self) -> PluginUsage
Bounded usage receipt.
Sourcepub const fn elapsed_ms(&self) -> u64
pub const fn elapsed_ms(&self) -> u64
Host-observed elapsed milliseconds.
Trait Implementations§
Source§impl Clone for PluginExecutionResult
impl Clone for PluginExecutionResult
Source§fn clone(&self) -> PluginExecutionResult
fn clone(&self) -> PluginExecutionResult
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 PluginExecutionResult
impl Debug for PluginExecutionResult
impl Eq for PluginExecutionResult
Source§impl PartialEq for PluginExecutionResult
impl PartialEq for PluginExecutionResult
Source§impl Serialize for PluginExecutionResult
impl Serialize for PluginExecutionResult
impl StructuralPartialEq for PluginExecutionResult
Auto Trait Implementations§
impl Freeze for PluginExecutionResult
impl RefUnwindSafe for PluginExecutionResult
impl Send for PluginExecutionResult
impl Sync for PluginExecutionResult
impl Unpin for PluginExecutionResult
impl UnsafeUnpin for PluginExecutionResult
impl UnwindSafe for PluginExecutionResult
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more