Struct FromBytesUntilNulError
struct FromBytesUntilNulError(_)
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.
Implementations
impl Clone for FromBytesUntilNulError
fn clone(self: &Self) -> FromBytesUntilNulError
impl Debug for FromBytesUntilNulError
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for FromBytesUntilNulError
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for FromBytesUntilNulError
impl Error for crate::ffi::FromBytesUntilNulError
impl Freeze for FromBytesUntilNulError
impl PartialEq for FromBytesUntilNulError
fn eq(self: &Self, other: &FromBytesUntilNulError) -> bool
impl RefUnwindSafe for FromBytesUntilNulError
impl Send for FromBytesUntilNulError
impl StructuralPartialEq for FromBytesUntilNulError
impl Sync for FromBytesUntilNulError
impl Unpin for FromBytesUntilNulError
impl UnwindSafe for FromBytesUntilNulError
impl<T> Any for FromBytesUntilNulError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for FromBytesUntilNulError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for FromBytesUntilNulError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for FromBytesUntilNulError
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for FromBytesUntilNulError
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for FromBytesUntilNulError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for FromBytesUntilNulError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for FromBytesUntilNulError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>