pub enum PlanError {
InvalidTarget,
UnsupportedScope,
ReversedStrategyRange,
InvalidBackend,
BackendUnavailable,
PermissionDenied,
NoSuchProcess,
PidReused,
PreciseTimingUnqualified,
UnsupportedCapturePlan,
Capacity(CapacityError),
}Variants§
InvalidTarget
UnsupportedScope
ReversedStrategyRange
InvalidBackend
PermissionDenied
NoSuchProcess
PidReused
PreciseTimingUnqualified
UnsupportedCapturePlan
Capacity(CapacityError)
Trait Implementations§
impl Copy for PlanError
impl Eq for PlanError
Source§impl Error for PlanError
impl Error for PlanError
1.30.0 · 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<PlanError> for ManagerError
impl From<PlanError> for ManagerError
Source§fn from(error: PlanError) -> ManagerError
fn from(error: PlanError) -> ManagerError
Converts to this type from the input type.
Source§impl From<PlanError> for CapabilityError
impl From<PlanError> for CapabilityError
Source§fn from(err: PlanError) -> CapabilityError
fn from(err: PlanError) -> CapabilityError
Converts to this type from the input type.
impl StructuralPartialEq for PlanError
Auto Trait Implementations§
impl Forget for PlanError
impl Freeze for PlanError
impl Move for PlanError
impl RefUnwindSafe for PlanError
impl Send for PlanError
impl Sync for PlanError
impl Unpin for PlanError
impl UnsafeUnpin for PlanError
impl UnwindSafe for PlanError
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