Enum glommio::BuilderErrorKind
source · pub enum BuilderErrorKind {
NonExistentCpus {
cpu: usize,
},
InsufficientCpus {
required: usize,
available: usize,
},
NrShards {
minimum: usize,
shards: usize,
},
ThreadPanic(Box<dyn Any + Send>),
}
Expand description
Error types that can be created when building executors.
Variants§
NonExistentCpus
Error type for specifying a CPU that doesn’t exist
InsufficientCpus
Fields
Error type for using a Placement
that requires
more CPUs than available.
NrShards
Fields
Error type for using Placement::Custom
with a number of CpuSet
s that does not match the
number of shards requested.
ThreadPanic(Box<dyn Any + Send>)
Error type returned by
PoolThreadHandles::join_all
for threads that panicked. The contained error is forwarded from
JoinHandle
.
Trait Implementations§
source§impl Debug for BuilderErrorKind
impl Debug for BuilderErrorKind
Auto Trait Implementations§
impl Freeze for BuilderErrorKind
impl !RefUnwindSafe for BuilderErrorKind
impl Send for BuilderErrorKind
impl !Sync for BuilderErrorKind
impl Unpin for BuilderErrorKind
impl !UnwindSafe for BuilderErrorKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more