Struct konst::ffi::cstr::FromBytesWithNulError
source · pub struct FromBytesWithNulError { /* private fields */ }
Expand description
Error returned by from_bytes_with_nul
when the input slice either
does not terminate with nul, or contains inner nul bytes.
Implementations§
Trait Implementations§
source§impl Clone for FromBytesWithNulError
impl Clone for FromBytesWithNulError
source§fn clone(&self) -> FromBytesWithNulError
fn clone(&self) -> FromBytesWithNulError
Returns a copy 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 Debug for FromBytesWithNulError
impl Debug for FromBytesWithNulError
source§impl Display for FromBytesWithNulError
impl Display for FromBytesWithNulError
source§impl PartialEq for FromBytesWithNulError
impl PartialEq for FromBytesWithNulError
source§fn eq(&self, other: &FromBytesWithNulError) -> bool
fn eq(&self, other: &FromBytesWithNulError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)