Home
last modified time | relevance | path

Searched refs:StdFile (Results 1 – 25 of 66) sorted by relevance

123

/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/tokio-1.10.1/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/tokio-1.14.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/lang/gleam/gleam-0.18.2/cargo-crates/tokio-1.14.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/tokio-1.14.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/tokio-1.16.1/src/fs/
H A Dfile.rs25 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
706 impl From<StdFile> for File {
707 fn from(std: StdFile) -> Self { in from()
730 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/tokio-1.12.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/tokio-1.11.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/editors/helix/helix-0.5.0/cargo-crates/tokio-1.12.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/tokio-1.12.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/tokio-1.14.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/tokio-1.15.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/net/krill/krill-0.9.4/cargo-crates/tokio-1.12.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/net/oha/oha-0.4.7/cargo-crates/tokio-1.12.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/www/zola/zola-0.15.2/cargo-crates/tokio-1.14.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/tokio-1.13.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/tokio-1.10.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/www/xh/xh-0.14.1/cargo-crates/tokio-1.11.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/tokio-1.12.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/tokio-1.14.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/tokio-1.13.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/tokio-1.11.0/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/devel/py-maturin/maturin-0.11.3/cargo-crates/tokio-1.10.1/src/fs/
H A Dfile.rs27 use super::mocks::MockFile as StdFile;
33 use std::fs::File as StdFile;
94 std: Arc<StdFile>,
158 let std = asyncify(|| StdFile::open(path)).await?; in open()
215 pub fn from_std(std: StdFile) -> File { in from_std()
425 pub async fn into_std(mut self) -> StdFile { in into_std() argument
450 pub fn try_into_std(mut self) -> Result<StdFile, Self> { in try_into_std() argument
701 impl From<StdFile> for File {
702 fn from(std: StdFile) -> Self { in from()
725 StdFile::from_raw_fd(fd).into() in from_raw_fd()
[all …]
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/tokio-fs-0.1.7/src/file/
H A Dmod.rs23 use std::fs::{File as StdFile, Metadata, Permissions};
81 std: Option<StdFile>,
176 pub fn from_std(std: StdFile) -> File { in from_std()
512 pub fn into_std(mut self) -> StdFile { in into_std() argument
516 fn std(&mut self) -> &mut StdFile { in std() argument
/dports/sysutils/vector/vector-0.10.0/cargo-crates/tokio-fs-0.1.6/src/file/
H A Dmod.rs23 use std::fs::{File as StdFile, Metadata, Permissions};
81 std: Option<StdFile>,
176 pub fn from_std(std: StdFile) -> File { in from_std()
512 pub fn into_std(mut self) -> StdFile { in into_std() argument
516 fn std(&mut self) -> &mut StdFile { in std() argument
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/tokio-fs-0.1.3/src/file/
H A Dmod.rs21 use std::fs::{File as StdFile, Metadata, Permissions};
39 std: Option<StdFile>,
85 pub(crate) fn from_std(std: StdFile) -> File { in from_std()
196 pub fn into_std(mut self) -> StdFile { in into_std() argument
200 fn std(&mut self) -> &mut StdFile { in std() argument

123