pub type CStr = CStr;
Expand description
See core::ffi::CStr.
Trait Implementations
sourceimpl Arg for &CStr
Available on crate features fs
or net
only.
impl Arg for &CStr
Available on crate features
fs
or net
only.sourcefn to_string_lossy(&self) -> Cow<'_, str>
fn to_string_lossy(&self) -> Cow<'_, str>
Returns a potentially-lossy rendering of this string as a Cow<'_, str>
. Read more
sourcefn as_cow_c_str(&self) -> Result<Cow<'_, CStr>>
fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>>
Returns a view of this string as a maybe-owned CStr
.