Home
last modified time | relevance | path

Searched refs:Filetype (Results 1 – 6 of 6) sorted by relevance

/wasmtime-44.0.1/crates/wasi-common/src/snapshots/
H A Dpreview_1.rs204 fs_filetype: types::Filetype::Directory, in fd_fdstat_get()
1331 fs_filetype: types::Filetype::from(&fdstat.filetype), in from()
1339 impl From<&FileType> for types::Filetype { implementation
1340 fn from(ft: &FileType) -> types::Filetype { in from() argument
1342 FileType::Directory => types::Filetype::Directory, in from()
1343 FileType::BlockDevice => types::Filetype::BlockDevice, in from()
1345 FileType::RegularFile => types::Filetype::RegularFile, in from()
1349 FileType::Unknown => types::Filetype::Unknown, in from()
1350 FileType::Pipe => types::Filetype::Unknown, in from()
1436 filetype: types::Filetype::from(&stat.filetype), in from()
[all …]
H A Dpreview_0.rs230 snapshot1_types::Filetype,
231 types::Filetype,
/wasmtime-44.0.1/crates/wasi/src/
H A Dp1.rs1002 impl TryFrom<filesystem::DescriptorType> for types::Filetype { implementation
1008 filesystem::DescriptorType::Directory => Ok(types::Filetype::Directory), in try_from()
1012 filesystem::DescriptorType::Fifo => Ok(types::Filetype::Unknown), in try_from()
1019 filesystem::DescriptorType::Unknown => Ok(types::Filetype::Unknown), in try_from()
1024 impl From<IsATTY> for types::Filetype { implementation
1027 IsATTY::Yes => types::Filetype::CharacterDevice, in from()
1028 IsATTY::No => types::Filetype::Unknown, in from()
1467 fs_filetype: types::Filetype::Directory, in fd_fdstat_get()
1490 if let types::Filetype::Directory = fs_filetype { in fd_fdstat_get()
1961 d_type: types::Filetype::Directory, in fd_readdir()
[all …]
H A Dp0.rs775 snapshot1_types::Filetype,
776 types::Filetype,
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Ddescriptors.rs120 pub fn filetype(&self) -> wasip1::Filetype { in filetype() argument
H A Dlib.rs2538 impl From<filesystem::DescriptorType> for wasip1::Filetype { implementation
2539 fn from(ty: filesystem::DescriptorType) -> wasip1::Filetype { in from() argument