pub struct NoWorkerThread {
pub detail: String,
}Expand description
Condition flm.text.worker-thread-unavailable: the emitter could not run
on a worker thread, so it was not run.
A worker thread is a thread marked with the size of its stack
(mark_worker_thread);
on_worker_thread creates one, with
WORKER_STACK_SIZE bytes of stack, when
the calling thread is not one (see the recursion guard and worker
threads). The emitter
needs one because its walk recurses as deeply as the trees nest, and its
depth limit is read from the stack that the thread declares. The
calling thread was not a worker thread, and the operating system refused to
create one. Reported at error severity, with no position in the document.
Recovery: the run has no text output.
Fields§
§detail: StringThe operating system’s error message.
Implementations§
Source§impl NoWorkerThread
impl NoWorkerThread
Sourcepub fn new(detail: impl Into<String>) -> Self
pub fn new(detail: impl Into<String>) -> Self
Creates a NoWorkerThread condition.
Trait Implementations§
Source§impl Clone for NoWorkerThread
impl Clone for NoWorkerThread
Source§impl Debug for NoWorkerThread
impl Debug for NoWorkerThread
Source§impl DiagnosticInfo for NoWorkerThread
impl DiagnosticInfo for NoWorkerThread
Source§const IDENTIFIER: &'static str = "flm.text.worker-thread-unavailable"
const IDENTIFIER: &'static str = "flm.text.worker-thread-unavailable"
<crate-or-lang>.<area>.<condition>. Read moreSource§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
Source§impl Display for NoWorkerThread
impl Display for NoWorkerThread
impl Eq for NoWorkerThread
Source§impl PartialEq for NoWorkerThread
impl PartialEq for NoWorkerThread
impl StructuralPartialEq for NoWorkerThread
Auto Trait Implementations§
impl Forget for NoWorkerThread
impl Freeze for NoWorkerThread
impl Move for NoWorkerThread
impl RefUnwindSafe for NoWorkerThread
impl Send for NoWorkerThreadwhere
RawVecInner: Send,
impl Sync for NoWorkerThreadwhere
RawVecInner: Sync,
impl Unpin for NoWorkerThread
impl UnsafeUnpin for NoWorkerThread
impl UnwindSafe for NoWorkerThreadwhere
RawVecInner: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
DiagnosticInfo::identifier — for every
ordinary condition, the IDENTIFIER const).Source§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
DiagnosticInfo::serializable_data).Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more