pub enum TextContinuationError<B, C>{
IncompatibleDriver,
Failed,
NotQuiescent,
Generation(ControlledTextGenerationError<B, C>),
}Expand description
Failure to advance or settle a detached ordinary continuation.
Variants§
IncompatibleDriver
The continuation was created by another exclusive runtime driver.
Failed
A previous operation failed; only cleanup and record draining remain valid.
NotQuiescent
Native completion and portable record draining have not both succeeded.
Generation(ControlledTextGenerationError<B, C>)
Ordinary backend execution or portable constraint control failed.
Trait Implementations§
Source§impl<B, C> Debug for TextContinuationError<B, C>
impl<B, C> Debug for TextContinuationError<B, C>
Source§impl<B, C> Display for TextContinuationError<B, C>
impl<B, C> Display for TextContinuationError<B, C>
Source§impl<B, C> Error for TextContinuationError<B, C>
impl<B, C> Error for TextContinuationError<B, C>
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<B, C> From<ControlledTextGenerationError<B, C>> for TextContinuationError<B, C>
impl<B, C> From<ControlledTextGenerationError<B, C>> for TextContinuationError<B, C>
Source§fn from(source: ControlledTextGenerationError<B, C>) -> Self
fn from(source: ControlledTextGenerationError<B, C>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<B, C> Freeze for TextContinuationError<B, C>where
ControlledTextGenerationError<B, C>: Freeze,
impl<B, C> RefUnwindSafe for TextContinuationError<B, C>where
ControlledTextGenerationError<B, C>: RefUnwindSafe,
impl<B, C> Send for TextContinuationError<B, C>where
ControlledTextGenerationError<B, C>: Send,
impl<B, C> Sync for TextContinuationError<B, C>where
ControlledTextGenerationError<B, C>: Sync,
impl<B, C> Unpin for TextContinuationError<B, C>where
ControlledTextGenerationError<B, C>: Unpin,
impl<B, C> UnsafeUnpin for TextContinuationError<B, C>where
ControlledTextGenerationError<B, C>: UnsafeUnpin,
impl<B, C> UnwindSafe for TextContinuationError<B, C>where
ControlledTextGenerationError<B, C>: 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