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

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

Read a netlist from a byte stream.

Associated Types

type Error[src]

Type of error that could happen while reading a netlist.

Loading content...

Required methods

pub fn read_into_netlist<R, N>(
    &self,
    reader: &mut R,
    netlist: &mut N
) -> Result<(), Self::Error> where
    N: NetlistEdit,
    R: Read
[src]

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

Loading content...

Provided methods

pub fn read_netlist<R, N>(&self, reader: &mut R) -> Result<N, Self::Error> where
    N: NetlistEdit,
    R: Read
[src]

Read a netlist from a byte stream.

Loading content...

Implementors

Loading content...