Lines Matching refs:StdFile
22 use super::mocks::MockFile as StdFile;
30 use std::fs::File as StdFile;
90 std: Arc<StdFile>,
153 let std = asyncify(|| StdFile::open(path)).await?; in open()
191 let std_file = asyncify(move || StdFile::create(path)).await?; in create()
276 pub fn from_std(std: StdFile) -> File { in from_std()
486 pub async fn into_std(mut self) -> StdFile { in into_std() argument
509 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
874 impl From<StdFile> for File {
875 fn from(std: StdFile) -> Self { in from()
907 StdFile::from_raw_fd(fd).into() in from_raw_fd()
932 StdFile::from_raw_handle(handle).into()