rcc_trait_chain

Trait Chain

Source
pub trait Chain<E: Error> {
    // Required method
    fn parse(data: &Vec<u8>) -> Result<String, E>;
}

Required Methods§

Source

fn parse(data: &Vec<u8>) -> Result<String, E>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§