Trait asn1_der::Sink

source ·
pub trait Sink: Sized {
    fn write(&mut self, e: u8) -> Result<(), Asn1DerError>;

    fn counting_sink(self, ctr: &mut usize) -> CountingSink<'_, Self> { ... }
}
Expand description

A trait defining a byte sink

Required Methods§

Writes e to self

Provided Methods§

Creates a counting sink

Implementations on Foreign Types§

Implementors§