Skip to main content

RuntimeForeignService

Trait RuntimeForeignService 

Source
pub trait RuntimeForeignService {
    // Required method
    fn invoke(
        &self,
        call: ForeignCall,
    ) -> Pin<Box<dyn Future<Output = Result<Value, RuntimeError>> + 'static>>;
}

Required Methods§

Source

fn invoke( &self, call: ForeignCall, ) -> Pin<Box<dyn Future<Output = Result<Value, RuntimeError>> + 'static>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§