penumbra_ibc::component::packet

Trait SendPacketRead

source
pub trait SendPacketRead: StateRead {
    // Provided method
    fn send_packet_check<'life0, 'async_trait>(
        &'life0 self,
        packet: IBCPacket<Unchecked>,
        current_block_time: Time,
    ) -> Pin<Box<dyn Future<Output = Result<IBCPacket<Checked>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Available on crate feature component only.

Provided Methods§

source

fn send_packet_check<'life0, 'async_trait>( &'life0 self, packet: IBCPacket<Unchecked>, current_block_time: Time, ) -> Pin<Box<dyn Future<Output = Result<IBCPacket<Checked>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

send_packet_check verifies that a packet can be sent using the provided parameters.

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§