Expand description
Error returned by CStr16::from_str_with_buf
.
Variants
InvalidChar(usize)
Tuple Fields
0: usize
An invalid character was encountered before the end of the string
InteriorNul(usize)
Tuple Fields
0: usize
A null character was encountered in the string
BufferTooSmall
The buffer is not big enough to hold the entire string and trailing null character
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FromStrWithBufError
impl Send for FromStrWithBufError
impl Sync for FromStrWithBufError
impl Unpin for FromStrWithBufError
impl UnwindSafe for FromStrWithBufError
Blanket Implementations
Mutably borrows from an owned value. Read more