pub struct MissingNulError<C> { /* private fields */ }Expand description
An error returned from UCString and UCStr to indicate that a terminating nul value
was missing.
The error optionally returns the ownership of the invalid vector whenever a vector was owned.
Implementations§
Trait Implementations§
Source§impl<C: Clone> Clone for MissingNulError<C>
impl<C: Clone> Clone for MissingNulError<C>
Source§fn clone(&self) -> MissingNulError<C>
fn clone(&self) -> MissingNulError<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for MissingNulError<C>
impl<C: Debug> Debug for MissingNulError<C>
Source§impl<C: UChar> Display for MissingNulError<C>
impl<C: UChar> Display for MissingNulError<C>
Source§impl<C: UChar> Error for MissingNulError<C>
impl<C: UChar> Error for MissingNulError<C>
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl<C: PartialEq> PartialEq for MissingNulError<C>
impl<C: PartialEq> PartialEq for MissingNulError<C>
impl<C: Eq> Eq for MissingNulError<C>
impl<C> StructuralPartialEq for MissingNulError<C>
Auto Trait Implementations§
impl<C> Freeze for MissingNulError<C>
impl<C> RefUnwindSafe for MissingNulError<C>where
C: RefUnwindSafe,
impl<C> Send for MissingNulError<C>where
C: Send,
impl<C> Sync for MissingNulError<C>where
C: Sync,
impl<C> Unpin for MissingNulError<C>where
C: Unpin,
impl<C> UnwindSafe for MissingNulError<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more