Struct cernan::source::TCP[][src]

pub struct TCP<H> { /* fields omitted */ }

State for a TCP backed source.

Trait Implementations

impl<H> Source<TCPConfig> for TCP<H> where
    H: TCPStreamHandler
[src]

Constructs and starts a new TCP source.

Starts the accept loop.

Constructs a so-called runnable source for the given Source and config.` See RunnableSource. Read more

Auto Trait Implementations

impl<H> Send for TCP<H> where
    H: Send

impl<H> Sync for TCP<H> where
    H: Sync