Struct sgx_tstd::ffi::NulError[][src]

pub struct NulError(_, _);

An error returned from CString::new to indicate that a nul byte was found in the vector provided.

Methods

impl NulError
[src]

Returns the position of the nul byte in the slice that was provided to CString::new.

Consumes this error, returning the underlying vector of bytes which generated the error in the first place.

Trait Implementations

impl Debug for NulError
[src]

Formats the value using the given formatter. Read more

impl Clone for NulError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq<NulError> for NulError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NulError
[src]

impl Display for NulError
[src]

Formats the value using the given formatter. Read more

impl Error for NulError
[src]

A short description of the error.

The lower-level cause of this error, if any.

Get the TypeId of self

impl From<NulError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for NulError

impl Sync for NulError