Trait thindx::ctypes::TryIntoAsCStr
source · [−]pub trait TryIntoAsCStr<C = i8> {
type Target: AsCStr<C>;
fn try_into(self) -> Result<Self::Target, InteriorNulError>;
}
Associated Types
Required methods
fn try_into(self) -> Result<Self::Target, InteriorNulError>
fn try_into(self) -> Result<Self::Target, InteriorNulError>
Attempt to convert to Self::Target. May fail if self
contains \0
s.