pub fn new(service: &'static str, listen: SocketAddr, timeout_ms: u64) -> Self[src]
If there isn't already a downstream client, it accepts. Otherwise it blocks until able to successfully read an entire message
Shutdown the internal network stream
If there isn't already a downstream client, it accepts. Otherwise it blocks until it is able to successfully send an entire message.
Auto Trait Implementations
impl RefUnwindSafe for NetworkServer
impl Send for NetworkServer
impl Sync for NetworkServer
impl Unpin for NetworkServer
impl UnwindSafe for NetworkServer
type Error = Infallible
The type returned in the event of a conversion error.