[][src]Struct roost_app::state::OutBuffer

struct OutBuffer {
    lines: String,
}

The structure that contains file contents when calling output_file()

Fields

lines: String

Trait Implementations

impl<'a, T: 'a + Transaction> LineBuffer<'a, T> for OutBuffer[src]

fn output_line(
    &mut self,
    _key: &Key<PatchId>,
    contents: Value<'a, T>
) -> Result<(), Error>
[src]

Executed for each line of a file, to obtain its contents when calling output_file()

fn output_conflict_marker(&mut self, s: &'a str) -> Result<(), Error>[src]

Executed for conflicting lines, when calling output_file()

fn begin_conflict(&mut self) -> Result<(), Error>

fn begin_zombie_conflict(&mut self) -> Result<(), Error>

fn conflict_next(&mut self) -> Result<(), Error>

fn end_conflict(&mut self) -> Result<(), Error>

Auto Trait Implementations

impl Send for OutBuffer

impl Sync for OutBuffer

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]