Skip to main content

handoff

Function handoff 

Source
pub fn handoff(
    addr: SocketAddr,
    info: &ServiceInfo,
    release_after_ms: u64,
    wait: Duration,
) -> Result<(), String>
Expand description

Ask the service on addr to hand over, then wait until the port is free. The service exits by itself; nothing is killed.