pub enum CaptureOutcome {
Captured,
Truncated {
available_elements: u64,
emitted_elements: u64,
},
Skipped {
reason: CaptureSkipReason,
},
Missing,
Failed {
reason: CaptureFailureReason,
message: String,
},
}Expand description
Measured data and diagnostic outcomes remain distinct.
Variants§
Captured
The requested result is present.
Truncated
An explicit preview omitted part of the selected tensor.
Fields
Skipped
Schedule or budget explicitly omitted this result.
Fields
§
reason: CaptureSkipReasonStructured omission reason.
Missing
The selected point was not emitted by execution.
Failed
Capture execution failed.
Fields
§
reason: CaptureFailureReasonStructured category independent of the bounded human diagnostic.
Trait Implementations§
Source§impl Clone for CaptureOutcome
impl Clone for CaptureOutcome
Source§fn clone(&self) -> CaptureOutcome
fn clone(&self) -> CaptureOutcome
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 CaptureOutcome
impl Debug for CaptureOutcome
Source§impl<'de> Deserialize<'de> for CaptureOutcome
impl<'de> Deserialize<'de> for CaptureOutcome
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
impl Eq for CaptureOutcome
Source§impl PartialEq for CaptureOutcome
impl PartialEq for CaptureOutcome
Source§impl Serialize for CaptureOutcome
impl Serialize for CaptureOutcome
impl StructuralPartialEq for CaptureOutcome
Auto Trait Implementations§
impl Freeze for CaptureOutcome
impl RefUnwindSafe for CaptureOutcome
impl Send for CaptureOutcome
impl Sync for CaptureOutcome
impl Unpin for CaptureOutcome
impl UnsafeUnpin for CaptureOutcome
impl UnwindSafe for CaptureOutcome
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