Struct linebreak_convert_writer::LinebreakConvertWriter [] [src]

pub struct LinebreakConvertWriter<W: Write> { /* fields omitted */ }

A intermediate layer that converts every recognizable linebreak, LF or CRLF, into provided the new linebreak. Warning: You should never write binary data directly to LinebreakConvertWriter, because all your bytes of the same value as LF may be converted to some thing else.

Trait Implementations

impl<W: Debug + Write> Debug for LinebreakConvertWriter<W>
[src]

[src]

Formats the value using the given formatter.

impl<W: Write> Write for LinebreakConvertWriter<W>
[src]

[src]

Write a buffer into this object, returning how many bytes were written. Read more

[src]

Writes a formatted string into this writer, returning any error encountered. Read more

[src]

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

1.0.0
[src]

Attempts to write an entire buffer into this write. Read more

1.0.0
[src]

Creates a "by reference" adaptor for this instance of Write. Read more