[go: up one dir, main page]

Trait git2::IntoCString

source ·
pub trait IntoCString {
    fn into_c_string(self) -> Result<CString, Error>;
}
Expand description

A class of types that can be converted to C strings.

These types are represented internally as byte slices and it is quite rare for them to contain an interior 0 byte.

Required Methods§

Consume this container, converting it into a CString

Implementations on Foreign Types§

Implementors§