Struct ThreadPoolBuildError

pub struct ThreadPoolBuildError { /* private fields */ }

Error when initializing a thread pool.

Trait Implementations

impl Debug for ThreadPoolBuildError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for ThreadPoolBuildError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Error for ThreadPoolBuildError

fn description(&self) -> &str
fn source(&self) -> Option<&dyn Error + 'static>

Auto Trait Implementations

impl !RefUnwindSafe for ThreadPoolBuildError

impl !UnwindSafe for ThreadPoolBuildError

impl Freeze for ThreadPoolBuildError

impl Send for ThreadPoolBuildError

impl Sync for ThreadPoolBuildError

impl Unpin for ThreadPoolBuildError

impl UnsafeUnpin for ThreadPoolBuildError

Blanket Implementations

impl<T> Any for ThreadPoolBuildError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ThreadPoolBuildError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ThreadPoolBuildError where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for ThreadPoolBuildError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for ThreadPoolBuildError

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> ToString for ThreadPoolBuildError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for ThreadPoolBuildError where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ThreadPoolBuildError where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ThreadPoolBuildError where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>