Home
last modified time | relevance | path

Searched refs:DescriptorStat (Results 1 – 13 of 13) sorted by relevance

/wasmtime-44.0.1/crates/component-macro/tests/expanded/
H A Dsimple-wasi.rs192 pub struct DescriptorStat {} struct
193 impl core::fmt::Debug for DescriptorStat { implementation
200 0 == < DescriptorStat as wasmtime::component::ComponentType >::SIZE32
203 1 == < DescriptorStat as wasmtime::component::ComponentType
255 fn stat(&mut self) -> Result<DescriptorStat, Errno>; in stat() argument
261 fn stat(&mut self) -> Result<DescriptorStat, Errno> { in stat() argument
H A Dsimple-wasi_async.rs192 pub struct DescriptorStat {} struct
193 impl core::fmt::Debug for DescriptorStat { implementation
200 0 == < DescriptorStat as wasmtime::component::ComponentType >::SIZE32
203 1 == < DescriptorStat as wasmtime::component::ComponentType
260 Output = Result<DescriptorStat, Errno>, in stat()
272 Output = Result<DescriptorStat, Errno>, in stat()
H A Dsimple-wasi_tracing_async.rs192 pub struct DescriptorStat {} struct
193 impl core::fmt::Debug for DescriptorStat { implementation
200 0 == < DescriptorStat as wasmtime::component::ComponentType >::SIZE32
203 1 == < DescriptorStat as wasmtime::component::ComponentType
260 Output = Result<DescriptorStat, Errno>, in stat()
272 Output = Result<DescriptorStat, Errno>, in stat()
H A Dsimple-wasi_concurrent.rs192 pub struct DescriptorStat {} struct
193 impl core::fmt::Debug for DescriptorStat { implementation
200 0 == < DescriptorStat as wasmtime::component::ComponentType >::SIZE32
203 1 == < DescriptorStat as wasmtime::component::ComponentType
255 Output = Result<DescriptorStat, Errno>, in stat()
/wasmtime-44.0.1/crates/wasi/src/p3/filesystem/
H A Dmod.rs233 impl From<crate::filesystem::DescriptorStat> for types::DescriptorStat { implementation
235 crate::filesystem::DescriptorStat {
242 }: crate::filesystem::DescriptorStat,
H A Dhost.rs4 self, Advice, DescriptorFlags, DescriptorStat, DescriptorType, DirectoryEntry, ErrorCode,
705 ) -> FilesystemResult<DescriptorStat> { in stat() argument
716 ) -> FilesystemResult<DescriptorStat> { in stat_at() argument
/wasmtime-44.0.1/crates/wasi/src/p2/host/filesystem/
H A Dsync.rs114 ) -> FsResult<sync_filesystem::DescriptorStat> { in stat() argument
123 ) -> FsResult<sync_filesystem::DescriptorStat> { in stat_at() argument
434 impl From<async_filesystem::DescriptorStat> for sync_filesystem::DescriptorStat { implementation
435 fn from(other: async_filesystem::DescriptorStat) -> Self { in from()
/wasmtime-44.0.1/crates/wasi/src/p2/host/
H A Dfilesystem.rs240 async fn stat(&mut self, fd: Resource<types::Descriptor>) -> FsResult<types::DescriptorStat> { in stat() argument
251 ) -> FsResult<types::DescriptorStat> { in stat_at() argument
584 impl TryFrom<crate::filesystem::DescriptorStat> for types::DescriptorStat { implementation
588 crate::filesystem::DescriptorStat {
595 }: crate::filesystem::DescriptorStat,
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp2_api_reactor.rs67 fn pass_an_imported_record(stat: wasi::filesystem::types::DescriptorStat) -> String { in pass_an_imported_record()
/wasmtime-44.0.1/crates/wasi/src/
H A Dfilesystem.rs280 pub(crate) struct DescriptorStat { struct
305 impl From<cap_std::fs::Metadata> for DescriptorStat { argument
616 pub(crate) async fn stat(&self) -> Result<DescriptorStat, ErrorCode> { in stat() argument
854 ) -> Result<DescriptorStat, ErrorCode> { in stat_at() argument
H A Dp1.rs1591 let filesystem::DescriptorStat { in fd_filestat_get()
1905 let filesystem::DescriptorStat { size, .. } = self.filesystem().stat(fd).await?; in fd_seek()
2068 let filesystem::DescriptorStat { in path_filestat_get()
2530 filesystem::DescriptorStat { size, .. } => { in poll_oneoff()
/wasmtime-44.0.1/crates/wasi/tests/all/p2/
H A Dapi.rs178 let ds = filesystem::DescriptorStat { in p2_api_reactor()
/wasmtime-44.0.1/examples/min-platform/embedding/src/
H A Dwasi.rs746 ) -> Result<Result<wasi::filesystem::types::DescriptorStat, wasi::filesystem::types::ErrorCode>> in stat() argument
755 ) -> Result<Result<wasi::filesystem::types::DescriptorStat, wasi::filesystem::types::ErrorCode>> in stat_at() argument