pub enum ProviderRoute {
Idle,
Cpu(CpuFallbackReason),
ProviderCompleted(Symbol),
ProviderFailed(Symbol),
}Expand description
Last routing outcome observed by a TensorStudySolver.
Variants§
Idle
No request has reached this solver.
Cpu(CpuFallbackReason)
CPU was selected before provider submission.
ProviderCompleted(Symbol)
The named executor completed a resident Study.
ProviderFailed(Symbol)
The named executor was selected and the request failed without restart.
Trait Implementations§
Source§impl Clone for ProviderRoute
impl Clone for ProviderRoute
Source§fn clone(&self) -> ProviderRoute
fn clone(&self) -> ProviderRoute
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 ProviderRoute
impl Debug for ProviderRoute
impl Eq for ProviderRoute
Source§impl PartialEq for ProviderRoute
impl PartialEq for ProviderRoute
impl StructuralPartialEq for ProviderRoute
Auto Trait Implementations§
impl Freeze for ProviderRoute
impl RefUnwindSafe for ProviderRoute
impl Send for ProviderRoute
impl Sync for ProviderRoute
impl Unpin for ProviderRoute
impl UnsafeUnpin for ProviderRoute
impl UnwindSafe for ProviderRoute
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