[−][src]Trait ptero::decoder::Decoder
Base trait for all data decoders. The generic type should contain data need by the decoder implementation.
Required methods
pub fn partial_decode(&self, context: &D) -> Result<Vec<Bit>, ContextError>
[src]
Provided methods
pub fn decode(
&self,
context: &mut D,
progress_channel: Option<&Sender<ProgressStatus>>
) -> Result<Vec<u8>, Box<dyn Error>>
[src]
&self,
context: &mut D,
progress_channel: Option<&Sender<ProgressStatus>>
) -> Result<Vec<u8>, Box<dyn Error>>
Implementors
impl Decoder<PivotByRawLineContext> for ELUVMethod
[src]
pub fn partial_decode(
&self,
context: &PivotByRawLineContext
) -> Result<Vec<Bit>, ContextError>
[src]
&self,
context: &PivotByRawLineContext
) -> Result<Vec<Bit>, ContextError>
impl Decoder<PivotByRawLineContext> for ExtendedLineMethod
[src]
pub fn partial_decode(
&self,
context: &PivotByRawLineContext
) -> Result<Vec<Bit>, ContextError>
[src]
&self,
context: &PivotByRawLineContext
) -> Result<Vec<Bit>, ContextError>
impl Decoder<PivotByRawLineContext> for LineExtendMethod
[src]
pub fn partial_decode(
&self,
context: &PivotByRawLineContext
) -> Result<Vec<Bit>, ContextError>
[src]
&self,
context: &PivotByRawLineContext
) -> Result<Vec<Bit>, ContextError>
impl<D> Decoder<D> for RandomWhitespaceMethod where
D: Context,
[src]
D: Context,
pub fn partial_decode(&self, context: &D) -> Result<Vec<Bit>, ContextError>
[src]
impl<D> Decoder<D> for TrailingUnicodeMethod where
D: Context,
[src]
D: Context,
pub fn partial_decode(&self, context: &D) -> Result<Vec<Bit>, ContextError>
[src]
impl<D> Decoder<D> for TrailingWhitespaceMethod where
D: Context,
[src]
D: Context,