pub trait FutureOperations {
// Provided methods
fn batch_op_reserved(&self, _op: u32) -> Result<Self, MathError>
where Self: Sized { ... }
fn crypto_op_reserved(
&self,
_op: u32,
_params: &[u8],
) -> Result<Vec<u8>, MathError> { ... }
fn supports_future_op(&self, op: u32) -> bool { ... }
}Expand description
Future operation hooks.
This trait defines hooks for operations that may be implemented in future versions or by third-party crates.
Provided Methods§
Sourcefn batch_op_reserved(&self, _op: u32) -> Result<Self, MathError>where
Self: Sized,
fn batch_op_reserved(&self, _op: u32) -> Result<Self, MathError>where
Self: Sized,
Reserved for future batch operations.
Sourcefn crypto_op_reserved(
&self,
_op: u32,
_params: &[u8],
) -> Result<Vec<u8>, MathError>
fn crypto_op_reserved( &self, _op: u32, _params: &[u8], ) -> Result<Vec<u8>, MathError>
Reserved for future cryptographic operations.
Sourcefn supports_future_op(&self, op: u32) -> bool
fn supports_future_op(&self, op: u32) -> bool
Check if a future operation is supported.