pub fn new(extra_nix_options: NixOptions) -> (Daemon, chan::Receiver<LoopHandlerEvent>) {
        let (build_events_tx, build_events_rx) = chan::unbounded();
        let (mon_tx, mon_rx) = chan::unbounded();
        (
            Daemon {
                handler_threads: HashMap::new(),
                build_events_tx,
                build_events_rx,
                mon_tx,
                extra_nix_options,
            },
            mon_rx,
        )
    }
/// Create a new daemon. Also return an `chan::Receiver` that
/// receives `LoopHandlerEvent`s for all builders this daemon
/// supervises.
Create a new daemon. Also return an `chan::Receiver` that
receives `LoopHandlerEvent`s for all builders this daemon
supervises.
Create a new daemon . Also return an ` chan :: Receiver ` that receives ` LoopHandlerEvent ` s for all builders this daemon supervises .
pub fn new(extra_nix_options: NixOptions) -> (Daemon, chan::Receiver<LoopHandlerEvent>) {
        let (build_events_tx, build_events_rx) = chan::unbounded();
        let (mon_tx, mon_rx) = chan::unbounded();
        (
            Daemon {
                handler_threads: HashMap::new(),
                build_events_tx,
                build_events_rx,
                mon_tx,
                extra_nix_options,
            },
            mon_rx,
        )
    }
pub fn new ( extra_nix_options : NixOptions ) -> ( Daemon , chan :: Receiver < LoopHandlerEvent > ) { let ( build_events_tx , build_events_rx ) = chan :: unbounded ( ) ; let ( mon_tx , mon_rx ) = chan :: unbounded ( ) ; ( Daemon { handler_threads : HashMap :: new ( ) , build_events_tx , build_events_rx , mon_tx , extra_nix_options , } , mon_rx , ) }
Create a new daemon.
Create a new daemon .
extra_nix_options
NixOptions
extra_nix_options
NixOptions