Enum framecodecs::delimiter::LineDelimiter [] [src]

pub enum LineDelimiter {
    Cr,
    Lf,
    CrLf,
}

A line break delimiter.

Variants

Carriage return.

Line feed.

Carriage return / line feed.

Trait Implementations

impl Debug for LineDelimiter
[src]

Formats the value using the given formatter.

impl Clone for LineDelimiter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LineDelimiter
[src]

impl PartialEq for LineDelimiter
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for LineDelimiter
[src]

impl Delimiter for LineDelimiter
[src]

Removes elements from buffer including next occurence of this delimiter, and returns the removed part except the delimiter. Read more

Appends this delimiter to the buffer.