pub trait FromWordPointer<'a>: Sized + 'a {
type Err: Display;
// Required method
fn from_cstr(s: &'a CStr) -> Result<Self, Self::Err>;
}
Expand description
Parse a value from a CStr
instance.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.