Trait libreda_oasis::LayoutStreamReader[][src]

pub trait LayoutStreamReader {
    type Error;
    pub fn read_layout<R>(
        &self,
        reader: &mut R,
        layout: &mut Layout
    ) -> Result<(), Self::Error>
    where
        R: Read
; }

Trait for reading a layout from a byte stream.

Associated Types

type Error[src]

Type of error that could happen while reading a layout.

Loading content...

Required methods

pub fn read_layout<R>(
    &self,
    reader: &mut R,
    layout: &mut Layout
) -> Result<(), Self::Error> where
    R: Read
[src]

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

Loading content...

Implementors

impl LayoutStreamReader for OASISStreamReader[src]

Reader implementation.

type Error = OASISReadError

Loading content...