pub trait CanCalculateIbcTransferTimeout: HasTimestampType + HasHeightType {
// Required methods
fn ibc_transfer_timeout_time(
&self,
current_time: &Self::Timestamp,
) -> Option<Self::Timestamp>;
fn ibc_transfer_timeout_height(
&self,
current_height: &Self::Height,
) -> Option<Self::Height>;
}
Required Methods§
fn ibc_transfer_timeout_time( &self, current_time: &Self::Timestamp, ) -> Option<Self::Timestamp>
fn ibc_transfer_timeout_height( &self, current_height: &Self::Height, ) -> Option<Self::Height>
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.