Home
last modified time | relevance | path

Searched refs:file_handler (Results 1 – 3 of 3) sorted by relevance

/xiu/protocol/hls/src/
H A Dm3u8.rs130 let mut file_handler = File::create(vod_m3u8_path).unwrap(); in clear() localVariable
132 file_handler.write_all(self.vod_m3u8_content.as_bytes())?; in clear()
184 let mut file_handler = File::create(m3u8_path).unwrap(); in refresh_playlist() localVariable
185 file_handler.write_all(m3u8_content.as_bytes())?; in refresh_playlist()
/xiu/library/logger/src/
H A Dtarget.rs31 let mut file_handler = self.cur_file_handler.lock().unwrap(); in flush() localVariable
32 file_handler.flush() in flush()
H A Dlogger.rs88 file_handler: Arc<Mutex<File>>, in gen_log_file_thread_run()
117 let mut state = file_handler.lock().expect("Could not lock mutex"); in gen_log_file_thread_run()