Struct FromBytesUntilNulError
pub struct FromBytesUntilNulError(pub(in ::ffi::c_str) ());
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.
Fields
0: ()
Trait Implementations
impl Clone for FromBytesUntilNulError
fn clone(&self) -> FromBytesUntilNulError
impl Copy for FromBytesUntilNulError
impl Debug for FromBytesUntilNulError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for FromBytesUntilNulError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for FromBytesUntilNulError
fn assert_fields_are_eq(&self)
impl Error for FromBytesUntilNulError
impl PartialEq for FromBytesUntilNulError
fn eq(&self, other: &FromBytesUntilNulError) -> bool
impl StructuralPartialEq for FromBytesUntilNulError
impl TrivialClone for FromBytesUntilNulError
Auto Trait Implementations
impl Freeze for FromBytesUntilNulError
impl RefUnwindSafe for FromBytesUntilNulError
impl Send for FromBytesUntilNulError
impl Sync for FromBytesUntilNulError
impl Unpin for FromBytesUntilNulError
impl UnsafeUnpin for FromBytesUntilNulError
impl UnwindSafe for FromBytesUntilNulError
Blanket Implementations
impl<T> Any for FromBytesUntilNulError
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for FromBytesUntilNulError
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for FromBytesUntilNulError
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for FromBytesUntilNulError
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for FromBytesUntilNulError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for FromBytesUntilNulError
where
T: Copy + Debug,
impl<T> SizeHint for FromBytesUntilNulError
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for FromBytesUntilNulError
impl<T, U> Into<U> for FromBytesUntilNulError
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for FromBytesUntilNulError
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for FromBytesUntilNulError
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>