Trait ReplyEndpoint

Source
pub trait ReplyEndpoint: Handler {
    // Provided method
    fn reply(
        self,
        deps: DepsMut<'_>,
        env: Env,
        msg: Reply,
    ) -> Result<Response, Self::Error> { ... }
}
Expand description

Trait for a contract’s Reply entry point.

Provided Methods§

Source

fn reply( self, deps: DepsMut<'_>, env: Env, msg: Reply, ) -> Result<Response, Self::Error>

Handler for the Reply endpoint.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§