Enum dpdk_unix::SetCurrentThreadNameError [−]
pub enum SetCurrentThreadNameError {
NameIsEmpty,
NameIsTooLong,
NameContainsNul(NulError),
}An error occurred when setting the current thread name.
Variants
NameIsEmptyA thread name is empty.
NameIsTooLongA 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 SetCurrentThreadNameErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for SetCurrentThreadNameError
impl Display for SetCurrentThreadNameErrorimpl Error for SetCurrentThreadNameError
impl Error for SetCurrentThreadNameErrorfn description(&self) -> &str
fn description(&self) -> &strThis 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 SetCurrentThreadNameErrorfn from(cause: NulError) -> SetCurrentThreadNameError
fn from(cause: NulError) -> SetCurrentThreadNameErrorPerforms the conversion.
Auto Trait Implementations
impl Send for SetCurrentThreadNameError
impl Send for SetCurrentThreadNameErrorimpl Sync for SetCurrentThreadNameError
impl Sync for SetCurrentThreadNameError