Struct core::ffi::FromBytesUntilNulError
source · [−]pub struct FromBytesUntilNulError(_);Expand description
An error indicating that no nul byte was present.
A slice used to create a CStr must contain a nul byte somewhere
within the slice.
This error is created by the CStr::from_bytes_until_nul method.
Trait Implementations
impl Clone for FromBytesUntilNulError
source
impl Clone for FromBytesUntilNulError
sourcefn clone(&self) -> FromBytesUntilNulError
source
fn clone(&self) -> FromBytesUntilNulError
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for FromBytesUntilNulError
source
impl Debug for FromBytesUntilNulError
sourceimpl Display for FromBytesUntilNulError
source
impl Display for FromBytesUntilNulError
sourceimpl PartialEq<FromBytesUntilNulError> for FromBytesUntilNulError
source
impl PartialEq<FromBytesUntilNulError> for FromBytesUntilNulError
sourcefn eq(&self, other: &FromBytesUntilNulError) -> bool
source
fn eq(&self, other: &FromBytesUntilNulError) -> bool
sourceThis method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &FromBytesUntilNulError) -> bool
source
fn ne(&self, other: &FromBytesUntilNulError) -> bool
sourceThis method tests for !=.
impl Eq for FromBytesUntilNulError
sourceimpl StructuralEq for FromBytesUntilNulError
sourceimpl StructuralPartialEq for FromBytesUntilNulError
sourceAuto Trait Implementations
impl RefUnwindSafe for FromBytesUntilNulError
impl Send for FromBytesUntilNulError
impl Sync for FromBytesUntilNulError
impl Unpin for FromBytesUntilNulError
impl UnwindSafe for FromBytesUntilNulError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more