pub trait CommitLogExt{
// Provided method
fn adapt<A>(
self,
topic: impl Into<Topic>,
codec: impl Codec<A>,
) -> LogAdapter<Self, impl Codec<A>, A> { ... }
}
Expand description
Provides a method on CommitLog
to specialize it for a payload type.
Provided Methods§
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.