pub fn privileged_action<N, F: FnOnce() -> N + 'static>(self, action: F) -> Daemonize<N> {
        let mut new: Daemonize<N> = unsafe { transmute(self) };
        new.privileged_action = BoxFnOnce::new(action);
        new
    }
/// Execute `action` just before dropping privileges. Most common usecase is to open listening socket.
/// Result of `action` execution will be returned by `start` method.
Execute `action` just before dropping privileges. Most common usecase is to open listening socket.
Result of `action` execution will be returned by `start` method.
Execute ` action ` just before dropping privileges . Most common usecase is to open listening socket . Result of ` action ` execution will be returned by ` start ` method .
pub fn privileged_action<N, F: FnOnce() -> N + 'static>(self, action: F) -> Daemonize<N> {
        let mut new: Daemonize<N> = unsafe { transmute(self) };
        new.privileged_action = BoxFnOnce::new(action);
        new
    }
pub fn privileged_action < N , F : FnOnce ( ) -> N + ' static > ( self , action : F ) -> Daemonize < N > { let mut new : Daemonize < N > = unsafe { transmute ( self ) } ; new . privileged_action = BoxFnOnce :: new ( action ) ; new }
Execute `action` just before dropping privileges.
Execute ` action ` just before dropping privileges .
self
action
F
self
action
F