pub trait NetlistReader {
    type Error;
    fn read_into_netlist<R: Read, N: NetlistEdit>(
        &self,
        reader: &mut R,
        netlist: &mut N
    ) -> Result<(), Self::Error>; fn read_netlist<R: Read, N: NetlistEdit>(
        &self,
        reader: &mut R
    ) -> Result<N, Self::Error> { ... } }
Expand description

Read a netlist from a byte stream.

Associated Types

Type of error that could happen while reading a netlist.

Required methods

Read a netlist from a byte stream and populate the netlist data structure.

Provided methods

Read a netlist from a byte stream.

Implementors