Trait libreda_oasis::LayoutStreamWriter[][src]

pub trait LayoutStreamWriter {
    type Error;
    pub fn write_layout<W>(
        &self,
        writer: &mut W,
        layout: &Layout
    ) -> Result<(), Self::Error>
    where
        W: Write
; }

Trait for writing a layout to a byte stream.

Associated Types

type Error[src]

Type of error that could happen while writing a layout.

Loading content...

Required methods

pub fn write_layout<W>(
    &self,
    writer: &mut W,
    layout: &Layout
) -> Result<(), Self::Error> where
    W: Write
[src]

Write the layout data structure to a byte stream.

Loading content...

Implementors

impl LayoutStreamWriter for OASISStreamWriter[src]

Writer implementation.

type Error = OASISWriteError

Loading content...