Trait ibc::ics04_channel::context::ChannelKeeper [−][src]
A context supplying all the necessary write-only dependencies (i.e., storage writing facility)
for processing any ChannelMsg
.
Required methods
fn store_packet_commitment(
&mut self,
key: (PortId, ChannelId, Sequence),
timestamp: u64,
heigh: Height,
data: Vec<u8>
) -> Result<(), Error>
[src]
&mut self,
key: (PortId, ChannelId, Sequence),
timestamp: u64,
heigh: Height,
data: Vec<u8>
) -> Result<(), Error>
fn delete_packet_commitment(
&mut self,
key: (PortId, ChannelId, Sequence)
) -> Result<(), Error>
[src]
&mut self,
key: (PortId, ChannelId, Sequence)
) -> Result<(), Error>
fn store_packet_receipt(
&mut self,
key: (PortId, ChannelId, Sequence),
receipt: Receipt
) -> Result<(), Error>
[src]
&mut self,
key: (PortId, ChannelId, Sequence),
receipt: Receipt
) -> Result<(), Error>
fn store_packet_acknowledgement(
&mut self,
key: (PortId, ChannelId, Sequence),
ack: Vec<u8>
) -> Result<(), Error>
[src]
&mut self,
key: (PortId, ChannelId, Sequence),
ack: Vec<u8>
) -> Result<(), Error>
fn delete_packet_acknowledgement(
&mut self,
key: (PortId, ChannelId, Sequence)
) -> Result<(), Error>
[src]
&mut self,
key: (PortId, ChannelId, Sequence)
) -> Result<(), Error>
fn store_connection_channels(
&mut self,
conn_id: ConnectionId,
port_channel_id: &(PortId, ChannelId)
) -> Result<(), Error>
[src]
&mut self,
conn_id: ConnectionId,
port_channel_id: &(PortId, ChannelId)
) -> Result<(), Error>
fn store_channel(
&mut self,
port_channel_id: (PortId, ChannelId),
channel_end: &ChannelEnd
) -> Result<(), Error>
[src]
&mut self,
port_channel_id: (PortId, ChannelId),
channel_end: &ChannelEnd
) -> Result<(), Error>
Stores the given channel_end at a path associated with the port_id and channel_id.
fn store_next_sequence_send(
&mut self,
port_channel_id: (PortId, ChannelId),
seq: Sequence
) -> Result<(), Error>
[src]
&mut self,
port_channel_id: (PortId, ChannelId),
seq: Sequence
) -> Result<(), Error>
fn store_next_sequence_recv(
&mut self,
port_channel_id: (PortId, ChannelId),
seq: Sequence
) -> Result<(), Error>
[src]
&mut self,
port_channel_id: (PortId, ChannelId),
seq: Sequence
) -> Result<(), Error>
fn store_next_sequence_ack(
&mut self,
port_channel_id: (PortId, ChannelId),
seq: Sequence
) -> Result<(), Error>
[src]
&mut self,
port_channel_id: (PortId, ChannelId),
seq: Sequence
) -> Result<(), Error>
fn increase_channel_counter(&mut self)
[src]
Called upon channel identifier creation (Init or Try message processing). Increases the counter which keeps track of how many channels have been created. Should never fail.
Provided methods
fn store_channel_result(&mut self, result: ChannelResult) -> Result<(), Error>
[src]
fn store_packet_result(
&mut self,
general_result: PacketResult
) -> Result<(), Error>
[src]
&mut self,
general_result: PacketResult
) -> Result<(), Error>