Struct sgx_trts::c_str::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 Clone for NulError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq 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 Debug for NulError
[src]

Formats the value using the given formatter. Read more

impl Display for NulError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for NulError

impl Sync for NulError