pub enum CreationBackend {
Cpu,
Auto,
Metal,
}Expand description
Policy for the recovery-data creation backend.
Variants§
Cpu
Use the CPU/SIMD forward encoder.
Auto
Keep work below 16 GiB on CPU; at or above it, preflight native Metal when available and use CPU when Metal cannot be admitted.
Metal
Require Metal and report an actionable error when it cannot be admitted.
Trait Implementations§
Source§impl Clone for CreationBackend
impl Clone for CreationBackend
Source§fn clone(&self) -> CreationBackend
fn clone(&self) -> CreationBackend
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 moreimpl Copy for CreationBackend
Source§impl Debug for CreationBackend
impl Debug for CreationBackend
Source§impl Default for CreationBackend
impl Default for CreationBackend
Source§fn default() -> CreationBackend
fn default() -> CreationBackend
Returns the “default value” for a type. Read more
impl Eq for CreationBackend
Source§impl PartialEq for CreationBackend
impl PartialEq for CreationBackend
impl StructuralPartialEq for CreationBackend
Auto Trait Implementations§
impl Freeze for CreationBackend
impl RefUnwindSafe for CreationBackend
impl Send for CreationBackend
impl Sync for CreationBackend
impl Unpin for CreationBackend
impl UnsafeUnpin for CreationBackend
impl UnwindSafe for CreationBackend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more