Struct resol_vbus::LiveDataWriter
[−]
[src]
pub struct LiveDataWriter<W: Write> { /* fields omitted */ }
Allows writing the live represenation of Data
variants to a Write
trait object.
Methods
impl<W: Write> LiveDataWriter<W>
[src]
fn new(writer: W) -> LiveDataWriter<W>
Construct a new LiveDataWriter
.
fn write_data(&mut self, data: &Data) -> Result<()>
Write the live representation of the Data
variant.