pub enum BackendSelection {
Require(Backend),
Auto(Vec<Backend>),
}Expand description
Select one required provider, or try candidates in order with fallback.
Variants§
Require(Backend)
Fail if registration, node placement, or inference cannot use this provider.
Auto(Vec<Backend>)
Allow ORT node partitioning and whole-session fallback, in this order.
Trait Implementations§
Source§impl Clone for BackendSelection
impl Clone for BackendSelection
Source§impl Debug for BackendSelection
impl Debug for BackendSelection
Auto Trait Implementations§
impl !RefUnwindSafe for BackendSelection
impl !UnwindSafe for BackendSelection
impl Freeze for BackendSelection
impl Send for BackendSelection
impl Sync for BackendSelection
impl Unpin for BackendSelection
impl UnsafeUnpin for BackendSelection
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