Trait cw_iper_test::IbcPortInterface

source ·
pub trait IbcPortInterface {
    // Required method
    fn port_name(&self) -> String;
}
Expand description

This trait is used to implement the port_name for a IbcApplication.

For implement this trait, use the derive macro IbcPort from cw-iper-test-macros

§Example:

#[derive(IbcPort)]
#[ibc_port = "transfer"]
pub struct Ics20;

Required Methods§

source

fn port_name(&self) -> String

return the port name of an IbcApplication

Implementors§