crabka-protocol 0.2.0

Apache Kafka wire-protocol codec (4.3.0), with typed RecordBatch and zero-copy borrowed decode
Documentation
1
2
3
4
5
6
7
//! Helpers shared across generated message modules. Not public API.

#[doc(hidden)]
#[inline]
pub fn is_default<T: Default + PartialEq>(v: &T) -> bool {
    v == &T::default()
}