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]

[src]

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

[src]

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

Trait Implementations

impl Error for NulError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for NulError
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for NulError
[src]

[src]

Formats the value using the given formatter.