pub struct NativeOperatorArtifactSpec {
pub operator: String,
pub backend: NativeOperatorBackend,
pub compute_capability: Option<String>,
pub manifest_path: PathBuf,
pub artifact_path: PathBuf,
pub source_package_sha256: Option<String>,
pub inputs_sha256: Option<String>,
pub binary_sha256: Option<String>,
}Fields§
§operator: String§backend: NativeOperatorBackend§compute_capability: Option<String>§manifest_path: PathBuf§artifact_path: PathBuf§source_package_sha256: Option<String>§inputs_sha256: Option<String>§binary_sha256: Option<String>Implementations§
Source§impl NativeOperatorArtifactSpec
impl NativeOperatorArtifactSpec
pub fn cuda_fa2( manifest_path: impl Into<PathBuf>, artifact_path: impl Into<PathBuf>, compute_capability: impl Into<String>, ) -> Self
pub fn with_source_package_sha256(self, sha256: impl Into<String>) -> Self
pub fn with_inputs_sha256(self, sha256: impl Into<String>) -> Self
pub fn with_binary_sha256(self, sha256: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for NativeOperatorArtifactSpec
impl Clone for NativeOperatorArtifactSpec
Source§fn clone(&self) -> NativeOperatorArtifactSpec
fn clone(&self) -> NativeOperatorArtifactSpec
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 NativeOperatorArtifactSpec
impl Debug for NativeOperatorArtifactSpec
impl Eq for NativeOperatorArtifactSpec
impl StructuralPartialEq for NativeOperatorArtifactSpec
Auto Trait Implementations§
impl Freeze for NativeOperatorArtifactSpec
impl RefUnwindSafe for NativeOperatorArtifactSpec
impl Send for NativeOperatorArtifactSpec
impl Sync for NativeOperatorArtifactSpec
impl Unpin for NativeOperatorArtifactSpec
impl UnsafeUnpin for NativeOperatorArtifactSpec
impl UnwindSafe for NativeOperatorArtifactSpec
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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