Enum widestring::error::NulError [−][src]
pub enum NulError<C> {
MissingNulTerminator(MissingNulTerminator),
ContainsNul(ContainsNul<C>),
}
Expand description
An error returned to indicate a problem with nul values occurred.
The error will either being a MissingNulTerminator
or ContainsNul
.
The error optionally returns the ownership of the invalid vector whenever a vector was owned.
Variants
MissingNulTerminator(MissingNulTerminator)
A terminating nul value was missing.
Tuple Fields of MissingNulTerminator
ContainsNul(ContainsNul<C>)
An interior nul value was found.
Tuple Fields of ContainsNul
0: ContainsNul<C>
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<C> RefUnwindSafe for NulError<C> where
C: RefUnwindSafe,
impl<C> UnwindSafe for NulError<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more