Enum dpdk_unix::SetCurrentThreadNameError[]

pub enum SetCurrentThreadNameError {
    NameIsEmpty,
    NameIsTooLong,
    NameContainsNul(NulError),
}

An error occurred when setting the current thread name.

Variants

A thread name is empty.

A thread name is too long (it must be 15 characters or less).

A thread name contains an ASCII NUL.

Trait Implementations

impl Debug for SetCurrentThreadNameError
[src]

Formats the value using the given formatter. Read more

impl Display for SetCurrentThreadNameError

Formats the value using the given formatter. Read more

impl Error for SetCurrentThreadNameError

This method is soft-deprecated. Read more

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

impl From<NulError> for SetCurrentThreadNameError

Performs the conversion.

Auto Trait Implementations