pub struct FromBytesWithNulError { /* private fields */ }Expand description
A possible error value when converting a Vec<u8> into the requested string.
This acts as a wrapper type for the actual error, and an owned buffer that can be return the provided allocation.
Implementations§
Source§impl FromBytesWithNulError
impl FromBytesWithNulError
Sourcepub fn kind(&self) -> NGCesu8CError
pub fn kind(&self) -> NGCesu8CError
The specific kind of error encountered
Sourcepub fn into_inner(self) -> Vec<u8> ⓘ
pub fn into_inner(self) -> Vec<u8> ⓘ
Receive the unmodified, originally provided owned byte string
Trait Implementations§
Source§impl Clone for FromBytesWithNulError
impl Clone for FromBytesWithNulError
Source§fn clone(&self) -> FromBytesWithNulError
fn clone(&self) -> FromBytesWithNulError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FromBytesWithNulError
impl Debug for FromBytesWithNulError
Source§impl PartialEq for FromBytesWithNulError
impl PartialEq for FromBytesWithNulError
impl Eq for FromBytesWithNulError
impl StructuralPartialEq for FromBytesWithNulError
Auto Trait Implementations§
impl Freeze for FromBytesWithNulError
impl RefUnwindSafe for FromBytesWithNulError
impl Send for FromBytesWithNulError
impl Sync for FromBytesWithNulError
impl Unpin for FromBytesWithNulError
impl UnwindSafe for FromBytesWithNulError
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