Skip to main content

ScopedHostFunction

Trait ScopedHostFunction 

Source
pub trait ScopedHostFunction<Profile, Provider, Arguments, Return>:
    ScopedHostFunctionAdapter<Profile, Provider, Arguments, Return>
    + Send
    + Sync
    + 'static
where Profile: HostProfile, Provider: HostProvider<Profile>,
{ }

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<Profile, Provider, Function, Arguments, Return> ScopedHostFunction<Profile, Provider, Arguments, Return> for Function
where Profile: HostProfile, Provider: HostProvider<Profile>, Function: ScopedHostFunctionAdapter<Profile, Provider, Arguments, Return> + Send + Sync + 'static,