pub struct HybridExecutionResult<T> {
pub value: T,
pub execution_time: Duration,
pub used_gpu: bool,
pub workload_size: usize,
}Expand description
Result of a hybrid execution.
Fields§
§value: TThe result value.
execution_time: DurationExecution time.
used_gpu: boolWhether GPU was used.
workload_size: usizeWorkload size.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for HybridExecutionResult<T>
impl<T: Clone> Clone for HybridExecutionResult<T>
Source§fn clone(&self) -> HybridExecutionResult<T>
fn clone(&self) -> HybridExecutionResult<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for HybridExecutionResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for HybridExecutionResult<T>where
T: RefUnwindSafe,
impl<T> Send for HybridExecutionResult<T>where
T: Send,
impl<T> Sync for HybridExecutionResult<T>where
T: Sync,
impl<T> Unpin for HybridExecutionResult<T>where
T: Unpin,
impl<T> UnwindSafe for HybridExecutionResult<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.