pub enum ProbeError {
NoDevice,
Fault(Fault),
EveryConfigFaulted(Vec<ConfigFault>),
Pool(ThreadPoolBuildError),
}Expand description
A probe build that cannot run.
Variants§
NoDevice
A GPU model with no device to sample it on. In a browser the probe never receives a device.
Fault(Fault)
The build or its sample at tick 0 faulted.
EveryConfigFaulted(Vec<ConfigFault>)
Every config ProbeReport::for_plan tried faulted, each with its fault.
Pool(ThreadPoolBuildError)
Building the thread pool for a probe build failed.
Trait Implementations§
Source§impl Debug for ProbeError
impl Debug for ProbeError
Source§impl Display for ProbeError
impl Display for ProbeError
Source§impl Error for ProbeError
impl Error for ProbeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ProbeError> for ExploreError
impl From<ProbeError> for ExploreError
Source§fn from(error: ProbeError) -> Self
fn from(error: ProbeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ProbeError
impl !UnwindSafe for ProbeError
impl Freeze for ProbeError
impl Send for ProbeError
impl Sync for ProbeError
impl Unpin for ProbeError
impl UnsafeUnpin for ProbeError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more