pub struct FromBytesWithNulError { /* fields omitted */ }
An error indicating that a nul byte was not in the expected position.
The slice used to create a CStr must have one and only one nul byte, positioned at the end.
This error is created by the CStr::from_bytes_with_nul method. See its documentation for more.
use std::ffi::{CStr, FromBytesWithNulError};
let _: FromBytesWithNulError = CStr::from_bytes_with_nul(b"f\0oo").unwrap_err();impl Clone for FromBytesWithNulError[src]
fn clone(&self) -> FromBytesWithNulError[src]
fn clone_from(&mut self, source: &Self)[src]1.0.0
impl Debug for FromBytesWithNulError[src]
impl Display for FromBytesWithNulError[src]1.17.0
impl Eq for FromBytesWithNulError[src]
impl Error for FromBytesWithNulError[src]1.17.0
fn description(&self) -> &str[src]
fn source(&self) -> Option<&(dyn Error + 'static)>[src]1.30.0
fn backtrace(&self) -> Option<&Backtrace>[src]
fn cause(&self) -> Option<&dyn Error>[src]1.0.0
impl PartialEq<FromBytesWithNulError> for FromBytesWithNulError[src]
fn eq(&self, other: &FromBytesWithNulError) -> bool[src]
fn ne(&self, other: &FromBytesWithNulError) -> bool[src]
impl StructuralEq for FromBytesWithNulError[src]
impl StructuralPartialEq for FromBytesWithNulError[src]
impl RefUnwindSafe for FromBytesWithNulErrorimpl Send for FromBytesWithNulErrorimpl Sync for FromBytesWithNulErrorimpl Unpin for FromBytesWithNulErrorimpl UnwindSafe for FromBytesWithNulErrorimpl<T> Any for T where
    T: 'static + ?Sized, [src]
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
fn borrow(&self) -> &TⓘNotable traits for &'_ mut F
impl<'_, F> Future for &'_ mut F where
    F: Unpin + Future + ?Sized, 
    type Output = <F as Future>::Output;
impl<'_, I> Iterator for &'_ mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<R: Read + ?Sized, '_> Read for &'_ mut R
impl<W: Write + ?Sized, '_> Write for &'_ mut W
[src]
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut F
impl<'_, F> Future for &'_ mut F where
    F: Unpin + Future + ?Sized, 
    type Output = <F as Future>::Output;
impl<'_, I> Iterator for &'_ mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<R: Read + ?Sized, '_> Read for &'_ mut R
impl<W: Write + ?Sized, '_> Write for &'_ mut W
[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
impl<T> ToOwned for T where
    T: Clone, [src]
type Owned = TThe resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
    T: Display + ?Sized, [src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
type Error = InfallibleThe type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
    © 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
    https://doc.rust-lang.org/std/ffi/struct.FromBytesWithNulError.html