Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ as_str
Method
as_str
src/path/arg.rs:110–112 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
108
impl Arg for &str {
109
#[inline]
110
fn as_str(&self) -> io::Result<&str> {
111
Ok(self)
112
}
113
114
#[cfg(feature =
"alloc"
)]
115
#[inline]
Callers
4
into_c_str
Method · 0.45
as_cow_c_str
Method · 0.45
into_with_c_str
Method · 0.45
to_string_lossy
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected