Trait libreda_pnr::db::NetlistReader[][src]

pub trait NetlistReader {
    type Error;
    fn read_into_netlist<R, N>(
        &self,
        reader: &mut R,
        netlist: &mut N
    ) -> Result<(), Self::Error>
    where
        R: Read,
        N: NetlistEdit
; fn read_netlist<R, N>(&self, reader: &mut R) -> Result<N, Self::Error>
    where
        R: Read,
        N: NetlistEdit
, { ... } }
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