pub struct StandardOperationContract { /* private fields */ }Expand description
One checked-in standard operation contract. Construction stays private so production registries cannot mutate a descriptor after a provider binds its fingerprint.
Trait Implementations§
Source§impl OperationContract for StandardOperationContract
impl OperationContract for StandardOperationContract
fn descriptor(&self) -> &OperationDescriptor
fn validate_signature( &self, inputs: &[TensorContract], outputs: &[TensorContract], ) -> Result<(), VNextError>
Auto Trait Implementations§
impl Freeze for StandardOperationContract
impl RefUnwindSafe for StandardOperationContract
impl Send for StandardOperationContract
impl Sync for StandardOperationContract
impl Unpin for StandardOperationContract
impl UnsafeUnpin for StandardOperationContract
impl UnwindSafe for StandardOperationContract
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