pub enum CaptureExecutionError<E: Error + 'static> {
Admission(CaptureError),
Backend(E),
}Expand description
Failure before reservation or during the reserved native transformation.
Variants§
Admission(CaptureError)
Invalid geometry or rejected budget/capability.
Backend(E)
Native transformation failed under the backend’s recovery owner.
Trait Implementations§
Source§impl<E> Display for CaptureExecutionError<E>
impl<E> Display for CaptureExecutionError<E>
Source§impl<E: Error + 'static> Error for CaptureExecutionError<E>
impl<E: Error + 'static> Error for CaptureExecutionError<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 CaptureExecutionError<E>
impl<E: Error + 'static> From<CaptureError> for CaptureExecutionError<E>
Source§fn from(source: CaptureError) -> Self
fn from(source: CaptureError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for CaptureExecutionError<E>where
E: Freeze,
impl<E> RefUnwindSafe for CaptureExecutionError<E>where
E: RefUnwindSafe,
impl<E> Send for CaptureExecutionError<E>where
E: Send,
impl<E> Sync for CaptureExecutionError<E>where
E: Sync,
impl<E> Unpin for CaptureExecutionError<E>where
E: Unpin,
impl<E> UnsafeUnpin for CaptureExecutionError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for CaptureExecutionError<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