Skip to main content

WalCodec

Trait WalCodec 

Source
pub trait WalCodec<Ctx>
where Ctx: Context, Self: Codec<SignedConsensusMsg<Ctx>> + Codec<ProposedValue<Ctx>>,
{ }
Expand description

Codec for encoding and decoding WAL entries.

This trait is automatically implemented for any type that implements:

Implementors§

Source§

impl<Ctx, C> WalCodec<Ctx> for C
where Ctx: Context, C: Codec<SignedConsensusMsg<Ctx>> + Codec<ProposedValue<Ctx>>,