pub trait InboundLaneStorage {
type Relayer: Clone + PartialEq;
type LaneId: Encode;
// Required methods
fn id(&self) -> Self::LaneId;
fn max_unrewarded_relayer_entries(&self) -> MessageNonce;
fn max_unconfirmed_messages(&self) -> MessageNonce;
fn data(&self) -> InboundLaneData<Self::Relayer>;
fn set_data(&mut self, data: InboundLaneData<Self::Relayer>);
fn purge(self);
}
Expand description
Inbound lane storage.
Required Associated Types§
Required Methods§
sourcefn max_unrewarded_relayer_entries(&self) -> MessageNonce
fn max_unrewarded_relayer_entries(&self) -> MessageNonce
Return maximal number of unrewarded relayer entries in inbound lane.
sourcefn max_unconfirmed_messages(&self) -> MessageNonce
fn max_unconfirmed_messages(&self) -> MessageNonce
Return maximal number of unconfirmed messages in inbound lane.
Object Safety§
This trait is not object safe.