Struct cstr_argument::NulError [] [src]

pub struct NulError<T> { /* fields omitted */ }

An error returned from CStrArgument::try_into_cstr to indicate that a null byte was found before the last byte in the string.

Methods

impl<T> NulError<T>
[src]

[src]

Returns the position of the null byte in the string.

[src]

Returns the original string.

Trait Implementations

impl<T: Debug> Debug for NulError<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Copy> Copy for NulError<T>
[src]

impl<T: Clone> Clone for NulError<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Eq> Eq for NulError<T>
[src]

impl<T: PartialEq> PartialEq for NulError<T>
[src]

[src]

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

[src]

This method tests for !=.

impl<T> Display for NulError<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Debug> Error for NulError<T>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

Auto Trait Implementations

impl<T> Send for NulError<T> where
    T: Send

impl<T> Sync for NulError<T> where
    T: Sync