Trait bash_builtins::convert::FromWordPointer[][src]

pub trait FromWordPointer<'a>: Sized + 'a {
    type Err: Display;
    fn from_cstr(s: &'a CStr) -> Result<Self, Self::Err>;
}
Expand description

Parse a value from a CStr instance.

Associated Types

The type returned in the event of a conversion error.

Required methods

Parse the value in s to return a value of this type.

Implementations on Foreign Types

Implementors