Trait otopr::decoding::Decodable [−][src]
pub trait Decodable<'de>: Sized {
type Wire: WireType;
fn decode<B: Buf>(deserializer: &mut Deserializer<'de, B>) -> Result<Self>;
fn merge_from<B: Buf>(
&mut self,
deserializer: &mut Deserializer<'de, B>
) -> Result<()> { ... }
fn merge(&mut self, other: Self) { ... }
}