pub struct NativeOperatorResolveRequest {
pub operator: String,
pub backend: NativeOperatorBackend,
pub compute_capability: Option<String>,
pub manifest_path: PathBuf,
pub artifact_path: PathBuf,
pub operator_abi_version: String,
pub ferrum_native_abi_version: String,
pub g03_catalog_sha256: Option<String>,
pub abi_contract_sha256: Option<String>,
pub descriptor_export: Option<String>,
pub required_exports: Vec<String>,
pub operation_bindings: Option<Vec<NativeOperatorBinding>>,
}Fields§
§operator: String§backend: NativeOperatorBackend§compute_capability: Option<String>§manifest_path: PathBuf§artifact_path: PathBuf§operator_abi_version: String§ferrum_native_abi_version: String§g03_catalog_sha256: Option<String>§abi_contract_sha256: Option<String>§descriptor_export: Option<String>§required_exports: Vec<String>§operation_bindings: Option<Vec<NativeOperatorBinding>>Implementations§
Source§impl NativeOperatorResolveRequest
impl NativeOperatorResolveRequest
pub fn new( operator: impl Into<String>, backend: NativeOperatorBackend, manifest_path: impl Into<PathBuf>, artifact_path: impl Into<PathBuf>, ) -> Self
pub fn with_compute_capability( self, compute_capability: impl Into<String>, ) -> Self
pub fn with_ferrum_native_abi_version(self, version: impl Into<String>) -> Self
pub fn with_operator_abi_version(self, version: impl Into<String>) -> Self
pub fn with_g03_catalog_sha256(self, sha256: impl Into<String>) -> Self
pub fn with_abi_contract_sha256(self, sha256: impl Into<String>) -> Self
pub fn with_descriptor_export(self, symbol: impl Into<String>) -> Self
pub fn with_required_exports( self, exports: impl IntoIterator<Item = String>, ) -> Self
pub fn with_operation_bindings( self, bindings: impl IntoIterator<Item = NativeOperatorBinding>, ) -> Self
Trait Implementations§
Source§impl Clone for NativeOperatorResolveRequest
impl Clone for NativeOperatorResolveRequest
Source§fn clone(&self) -> NativeOperatorResolveRequest
fn clone(&self) -> NativeOperatorResolveRequest
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 NativeOperatorResolveRequest
impl Debug for NativeOperatorResolveRequest
impl Eq for NativeOperatorResolveRequest
impl StructuralPartialEq for NativeOperatorResolveRequest
Auto Trait Implementations§
impl Freeze for NativeOperatorResolveRequest
impl RefUnwindSafe for NativeOperatorResolveRequest
impl Send for NativeOperatorResolveRequest
impl Sync for NativeOperatorResolveRequest
impl Unpin for NativeOperatorResolveRequest
impl UnsafeUnpin for NativeOperatorResolveRequest
impl UnwindSafe for NativeOperatorResolveRequest
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