Struct drone_core::ffi::FromBytesWithNulError [−][src]
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 at
the end of the slice.
This error is created by the
from_bytes_with_nul
method on CStr
. See
its documentation for more.
Examples
use drone_core::ffi::{CStr, FromBytesWithNulError}; let _: FromBytesWithNulError = CStr::from_bytes_with_nul(b"f\0oo").unwrap_err();
Trait Implementations
impl Clone for FromBytesWithNulError
[src]
impl Clone for FromBytesWithNulError
[src]fn clone(&self) -> FromBytesWithNulError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for FromBytesWithNulError
[src]
impl Eq for FromBytesWithNulError
[src]impl PartialEq<FromBytesWithNulError> for FromBytesWithNulError
[src]
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 StructuralEq for FromBytesWithNulError
[src]Auto Trait Implementations
impl Send for FromBytesWithNulError
impl Send for FromBytesWithNulError
impl Sync for FromBytesWithNulError
impl Sync for FromBytesWithNulError
impl Unpin for FromBytesWithNulError
impl Unpin for FromBytesWithNulError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.