pub enum TensorExecution {
Complete(Tensor),
Unsupported {
reason: Arc<str>,
},
}Expand description
Result of submitting a tensor request to an executor.
Variants§
Complete(Tensor)
The request finished and produced a tensor.
Unsupported
The executor declined before taking ownership of the request.
Trait Implementations§
Source§impl Clone for TensorExecution
impl Clone for TensorExecution
Source§fn clone(&self) -> TensorExecution
fn clone(&self) -> TensorExecution
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TensorExecution
impl !UnwindSafe for TensorExecution
impl Freeze for TensorExecution
impl Send for TensorExecution
impl Sync for TensorExecution
impl Unpin for TensorExecution
impl UnsafeUnpin for TensorExecution
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