FutureOperations

Trait FutureOperations 

Source
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§

Source

fn batch_op_reserved(&self, _op: u32) -> Result<Self, MathError>
where Self: Sized,

Reserved for future batch operations.

Source

fn crypto_op_reserved( &self, _op: u32, _params: &[u8], ) -> Result<Vec<u8>, MathError>

Reserved for future cryptographic operations.

Source

fn supports_future_op(&self, op: u32) -> bool

Check if a future operation is supported.

Implementors§