Struct cstr_core::FromBytesWithNulError [−][src]
pub struct FromBytesWithNulError { /* fields omitted */ }
An error returned from CStr::from_bytes_with_nul
to indicate that a nul
byte was found too early in the slice provided or one wasn't found at all.
Examples
use cstr_core::{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
fn clone(&self) -> FromBytesWithNulError
[src]
fn clone(&self) -> FromBytesWithNulError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for FromBytesWithNulError
[src]
impl PartialEq for FromBytesWithNulError
fn eq(&self, other: &FromBytesWithNulError) -> bool
[src]
fn eq(&self, other: &FromBytesWithNulError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FromBytesWithNulError) -> bool
[src]
fn ne(&self, other: &FromBytesWithNulError) -> bool
This method tests for !=
.
impl Eq for FromBytesWithNulError
[src]
impl Eq for FromBytesWithNulError
impl Debug for FromBytesWithNulError
[src]
impl Debug for FromBytesWithNulError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for FromBytesWithNulError
[src]
impl Display for FromBytesWithNulError
Auto Trait Implementations
impl Send for FromBytesWithNulError
impl Send for FromBytesWithNulError
impl Sync for FromBytesWithNulError
impl Sync for FromBytesWithNulError