pub enum EnableError {
AlreadyActive {
generation_id: u64,
},
Build(BuildError),
MissingTokioRuntimeForSampler,
StartRuntimeSampler(SamplerStartError),
}Expand description
Errors emitted when enabling/arming controller capture.
Variants§
AlreadyActive
Another generation is already active.
Build(BuildError)
Building the fresh bounded run failed.
MissingTokioRuntimeForSampler
Runtime sampler was enabled but no Tokio runtime was active.
StartRuntimeSampler(SamplerStartError)
Runtime sampler failed to start for this generation.
Trait Implementations§
Source§impl Debug for EnableError
impl Debug for EnableError
Source§impl Display for EnableError
impl Display for EnableError
Source§impl Error for EnableError
impl Error for EnableError
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()
Auto Trait Implementations§
impl Freeze for EnableError
impl RefUnwindSafe for EnableError
impl Send for EnableError
impl Sync for EnableError
impl Unpin for EnableError
impl UnsafeUnpin for EnableError
impl UnwindSafe for EnableError
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