Trait libpijul::graph::LineBuffer
[−]
[src]
pub trait LineBuffer<'a, T: 'a + Transaction> { fn output_line(
&mut self,
key: &Key<PatchId>,
contents: Value<'a, T>
) -> Result<(), Error>; fn output_conflict_marker(&mut self, s: &'a str) -> Result<(), Error>; fn begin_conflict(&mut self) -> Result<(), Error> { ... } fn conflict_next(&mut self) -> Result<(), Error> { ... } fn end_conflict(&mut self) -> Result<(), Error> { ... } }
Required Methods
fn output_line(
&mut self,
key: &Key<PatchId>,
contents: Value<'a, T>
) -> Result<(), Error>
&mut self,
key: &Key<PatchId>,
contents: Value<'a, T>
) -> Result<(), Error>
fn output_conflict_marker(&mut self, s: &'a str) -> Result<(), Error>
Provided Methods
fn begin_conflict(&mut self) -> Result<(), Error>
fn conflict_next(&mut self) -> Result<(), Error>
fn end_conflict(&mut self) -> Result<(), Error>
Implementors
impl<'a, T: 'a + Transaction, W: Write> LineBuffer<'a, T> for W