Enum terminated::NulError [] [src]

pub enum NulError {
    InteriorNul(usize),
    NotNulTerminated,
}

An error indicating that a string is not correctly NUL-terminated.

Variants

The string contained an interior NUL at this position.

The string did not have a NUL as its last character.

Trait Implementations

impl Clone for NulError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for NulError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NulError
[src]

impl Debug for NulError
[src]

Formats the value using the given formatter.

impl Display for NulError
[src]

Formats the value using the given formatter. Read more