Enum terminated::NulError
[−]
[src]
pub enum NulError { InteriorNul(usize), NotNulTerminated, }
An error indicating that a string is not correctly NUL-terminated.
Variants
InteriorNul(usize)
The string contained an interior NUL at this position.
NotNulTerminated
The string did not have a NUL as its last character.
Trait Implementations
impl Clone for NulError
[src]
fn clone(&self) -> NulError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for NulError
[src]
fn eq(&self, __arg_0: &NulError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NulError) -> bool
This method tests for !=
.