pub enum TextSnapshotError<E: Error + 'static> {
Host(String),
Controller(String),
Backend(E),
Capture(CaptureError),
Control(ExecutionControlError),
IncompatibleRun,
InconsistentState,
Unsupported(&'static str),
}Expand description
Failure before or during native/portable snapshot composition.
Variants§
Host(String)
The owning facade could not independently copy its complete semantic state.
Controller(String)
The canonical host constraint owner could not be copied independently.
Backend(E)
Exact native copy, completion or compatibility error.
Capture(CaptureError)
Portable capture/admission state is not a valid boundary.
Control(ExecutionControlError)
Unknown estimates, arithmetic or resource limits.
IncompatibleRun
Same-run restoration must not import another run’s sampler/accounting.
InconsistentState
Portable and native schedule components disagree.
Unsupported(&'static str)
Configuration lacks a required continuation mechanism or retained admission.
Trait Implementations§
Source§impl<E> Display for TextSnapshotError<E>
impl<E> Display for TextSnapshotError<E>
Source§impl<E> Error for TextSnapshotError<E>
impl<E> Error for TextSnapshotError<E>
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<E: Error + 'static> From<CaptureError> for TextSnapshotError<E>
impl<E: Error + 'static> From<CaptureError> for TextSnapshotError<E>
Source§fn from(source: CaptureError) -> Self
fn from(source: CaptureError) -> Self
Converts to this type from the input type.
Source§impl<E: Error + 'static> From<ExecutionControlError> for TextSnapshotError<E>
impl<E: Error + 'static> From<ExecutionControlError> for TextSnapshotError<E>
Source§fn from(source: ExecutionControlError) -> Self
fn from(source: ExecutionControlError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for TextSnapshotError<E>where
E: Freeze,
impl<E> RefUnwindSafe for TextSnapshotError<E>where
E: RefUnwindSafe,
impl<E> Send for TextSnapshotError<E>where
E: Send,
impl<E> Sync for TextSnapshotError<E>where
E: Sync,
impl<E> Unpin for TextSnapshotError<E>where
E: Unpin,
impl<E> UnsafeUnpin for TextSnapshotError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for TextSnapshotError<E>where
E: UnwindSafe,
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