Home
last modified time | relevance | path

Searched refs:File (Results 1 – 7 of 7) sorted by relevance

/xiu/library/logger/src/
H A Dtarget.rs4 std::{fs::File, io},
8 pub cur_file_handler: Arc<Mutex<File>>,
12 pub fn new(file: File) -> Result<Self> { in new()
H A Dlogger.rs9 fs::{File, OpenOptions},
73 pub fn gen_log_file(rotate: Rotate, path: String) -> Result<File> { in gen_log_file() argument
79 Ok(File::create(full_path)?) in gen_log_file()
88 file_handler: Arc<Mutex<File>>, in gen_log_file_thread_run() argument
/xiu/protocol/hls/src/
H A Dts.rs4 std::{fs, fs::File, io::Write},
27 let mut ts_file_handler = File::create(ts_file_path.clone())?; in write()
H A Dtest_flv2hls.rs10 use std::fs::File;
55 File::open("/Users/zexu/github/xiu/protocol/hls/src/xgplayer_demo.flv").unwrap(); in test_flv2hls()
H A Dm3u8.rs4 std::{collections::VecDeque, fs, fs::File, io::Write},
130 let mut file_handler = File::create(vod_m3u8_path).unwrap(); in clear()
184 let mut file_handler = File::create(m3u8_path).unwrap(); in refresh_playlist()
H A Dserver.rs6 tokio::fs::File,
63 if let Ok(file) = File::open(filename).await { in simple_file_send()
/xiu/protocol/webrtc/src/session/
H A Dmod.rs18 use std::{collections::HashMap, fs::File, sync::Arc};
487 let mut file = File::open(file_path).expect("Failed to open file"); in gen_file_response()