pub trait ConnectionDelayOverride {
// Required method
fn connection_delay(&self) -> Duration;
}
Expand description
An internal trait that can be implemented by test cases to override the connection delay parameter when creating connections.
This is called by RunBinaryConnectionTest
before creating
the IBC connections.
Test writers should implement
TestOverrides
for their test cases instead of implementing this trait directly.
Required Methods§
sourcefn connection_delay(&self) -> Duration
fn connection_delay(&self) -> Duration
Return the connection delay as Duration
.