Searched refs:File (Results 1 – 3 of 3) sorted by relevance
2 fs::{self, File},14 file: File,16 bak: Option<File>,23 let file = File::options() in new()51 let mut bak = File::options() in do_bak()109 pub fn get_heldbak(&mut self) -> Option<File> { in get_heldbak() argument
1 use std::{fs::File, io};20 File::create("held.log")?, in init()
1 use std::{fs::File, io};22 let file = File::open("config.yaml"); in main()26 setting = serde_yaml::from_reader::<File, DeserializeAppOption>(file?).unwrap_or_default(); in main()