Struct c_string::NulError [] [src]

pub struct NulError { /* fields omitted */ }

Error information about a failed string conversion due to an interior NUL in the source data.

Methods

impl NulError
[src]

Returns the position of the first NUL byte in the byte sequence that was attempted to convert to CStrBuf.

Consumes this error and returns the bytes that were attempted to make a C string with.

Trait Implementations

impl Error for NulError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for NulError
[src]

Formats the value using the given formatter. Read more

impl Debug for NulError
[src]

Formats the value using the given formatter.