Trait libreda_db::netlist::io::NetlistReader[][src]

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> { ... } }

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

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

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

Loading content...

Provided methods

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

Read a netlist from a byte stream.

Loading content...

Implementors

Loading content...