Results for OsStr
In Names
(2)
In Parameters
(4)
In Return Types
(13)
A capability-oriented API modeled after async_std
.
This corresponds to async_std
.
Capability-oriented APIs represent access to external resources as objects which can be passed around between different parts of a program.
Two notable features are the Dir
and Catalog
types:
Dir
represents an open directory in a filesystem. Instead of
opening files by absolute paths or paths relative to the current
working directory, files are opened via paths relative to a
Dir
. The concepts of a process-wide "current working directory"
and a single global filesystem namespace are de-emphasized.Catalog
represents a set of network addresses. Instead of
allowing applications to request access to any address and then
applying process-wide filtering rules, filtering rules are
built into catalogs which may be passed through the program.On WASI, use of this library closely reflects the underlying system API, so it avoids compatibility layers.
fs | A capability-oriented filesystem API modeled after |
net | A capability-oriented network API modeled after |
os | OS-specific extensions. |
path | Cross-platform path manipulation. |
time | A capability-oriented clock API modeled after |
cap_async_std::path::Component::as_str | |
cap_async_std::path::Path::to_str | Returns a `&str` slice if the `Path` is valid unicode. |
cap_async_std::path::Path::eq | |
cap_async_std::path::PathBuf::eq | |
cap_async_std::path::Path::partial_cmp | |
cap_async_std::path::PathBuf::partial_cmp |