Enum dpdk_unix::SetCurrentThreadNameError [−]
pub enum SetCurrentThreadNameError { NameIsEmpty, NameIsTooLong, NameContainsNul(NulError), }
An error occurred when setting the current thread name.
Variants
NameIsEmpty
A thread name is empty.
NameIsTooLong
A thread name is too long (it must be 15 characters or less).
NameContainsNul(NulError)
A thread name contains an ASCII NUL.
Trait Implementations
impl Debug for SetCurrentThreadNameError
[src]
impl Debug for SetCurrentThreadNameError
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 SetCurrentThreadNameError
impl Display for SetCurrentThreadNameError
impl Error for SetCurrentThreadNameError
impl Error for SetCurrentThreadNameError
fn description(&self) -> &str
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<NulError> for SetCurrentThreadNameError
impl From<NulError> for SetCurrentThreadNameError
fn from(cause: NulError) -> SetCurrentThreadNameError
fn from(cause: NulError) -> SetCurrentThreadNameError
Performs the conversion.
Auto Trait Implementations
impl Send for SetCurrentThreadNameError
impl Send for SetCurrentThreadNameError
impl Sync for SetCurrentThreadNameError
impl Sync for SetCurrentThreadNameError