fix(codec): Remove Default bound on Codec (#894)

This commit is contained in:
Andrew Hickman
2022-01-24 13:34:54 -05:00
committed by GitHub
parent 7179f7ae6a
commit d574cfda3a
+1 -1
View File
@@ -33,7 +33,7 @@ const HEADER_SIZE: usize =
std::mem::size_of::<u32>();
/// Trait that knows how to encode and decode gRPC messages.
pub trait Codec: Default {
pub trait Codec {
/// The encodable message.
type Encode: Send + 'static;
/// The decodable message.