Struct widestring::MissingNulError
[−]
[src]
pub struct MissingNulError(_);
An error returned from WideCString
and WideCStr
to indicate that a terminating nul value
was missing.
The error optionally returns the ownership of the invalid vector whenever a vector was owned.
Methods
impl MissingNulError
[src]
pub fn into_vec(self) -> Option<Vec<u16>>
[src]
Consumes this error, returning the underlying vector of u16
values which generated the
error in the first place.
Trait Implementations
impl Debug for MissingNulError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for MissingNulError
[src]
fn clone(&self) -> MissingNulError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for MissingNulError
[src]
fn eq(&self, __arg_0: &MissingNulError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MissingNulError) -> bool
[src]
This method tests for !=
.
impl Eq for MissingNulError
[src]
impl Display for MissingNulError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more