Enum trust_dns::tcp::TcpState [] [src]

pub enum TcpState {
    WillReadLength,
    WillRead {
        length: u16,
    },
    WillWriteLength,
    WillWrite,
    Done,
}

Variants

Fields of WillRead

Methods

impl TcpState
[src]

Trait Implementations

impl PartialEq for TcpState
[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 TcpState
[src]

impl Clone for TcpState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TcpState
[src]

impl Debug for TcpState
[src]

Formats the value using the given formatter.