Struct ether_dream_dac_emulator::listener::Listener [] [src]

pub struct Listener { /* fields omitted */ }

Listens for and handles requests to connect with the DAC.

Methods

impl Listener
[src]

[src]

Create a new listener for handling stream connection requests.

[src]

Waits for an incoming TCP connection request and connects.

The Listener will only accept one Stream at a time. If this method is called while an accepted stream still exists, this will block until that Stream is closed or dropped.

Trait Implementations

Auto Trait Implementations

impl Send for Listener

impl Sync for Listener