penumbra_ibc::component

Trait ChannelStateWriteExt

Source
pub trait ChannelStateWriteExt: StateWrite + StateReadExt {
    // Provided methods
    fn put_channel_counter(&mut self, counter: u64) { ... }
    fn next_channel_id<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<ChannelId>> + Send + 'async_trait>>
       where Self: Send + 'async_trait,
             'life0: 'async_trait { ... }
    fn put_channel(
        &mut self,
        channel_id: &ChannelId,
        port_id: &PortId,
        channel: ChannelEnd,
    ) { ... }
    fn put_ack_sequence(
        &mut self,
        channel_id: &ChannelId,
        port_id: &PortId,
        sequence: u64,
    ) { ... }
    fn put_recv_sequence(
        &mut self,
        channel_id: &ChannelId,
        port_id: &PortId,
        sequence: u64,
    ) { ... }
    fn put_send_sequence(
        &mut self,
        channel_id: &ChannelId,
        port_id: &PortId,
        sequence: u64,
    ) { ... }
    fn put_packet_receipt(&mut self, packet: &Packet) { ... }
    fn put_packet_commitment(&mut self, packet: &Packet) { ... }
    fn delete_packet_commitment(
        &mut self,
        channel_id: &ChannelId,
        port_id: &PortId,
        sequence: u64,
    ) { ... }
    fn put_packet_acknowledgement(
        &mut self,
        port_id: &PortId,
        channel_id: &ChannelId,
        sequence: u64,
        acknowledgement: &[u8],
    ) { ... }
}
Available on crate feature component only.

Provided Methods§

Source

fn put_channel_counter(&mut self, counter: u64)

Source

fn next_channel_id<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<ChannelId>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn put_channel( &mut self, channel_id: &ChannelId, port_id: &PortId, channel: ChannelEnd, )

Source

fn put_ack_sequence( &mut self, channel_id: &ChannelId, port_id: &PortId, sequence: u64, )

Source

fn put_recv_sequence( &mut self, channel_id: &ChannelId, port_id: &PortId, sequence: u64, )

Source

fn put_send_sequence( &mut self, channel_id: &ChannelId, port_id: &PortId, sequence: u64, )

Source

fn put_packet_receipt(&mut self, packet: &Packet)

Source

fn put_packet_commitment(&mut self, packet: &Packet)

Source

fn delete_packet_commitment( &mut self, channel_id: &ChannelId, port_id: &PortId, sequence: u64, )

Source

fn put_packet_acknowledgement( &mut self, port_id: &PortId, channel_id: &ChannelId, sequence: u64, acknowledgement: &[u8], )

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§