pub struct TemplateFailed {
pub template: Option<String>,
pub output: String,
pub detail: String,
}Expand description
Condition flm.compose.template-failed (Error): the chosen compose template cannot be
applied. The stage flm.compose.<output> reports it when the settings that choose the
compose template cannot be read, when no compose template of the chosen name serves
the output or more than one does, when its template engine is not registered,
when the output’s regions, the files written beside the entry artifact or the
document’s metadata cannot be read, when its template engine cannot give the files it
ships (TemplateEngine::artifacts), when it ships files and no package in use
provides a naming of files, when its text or the text of a file it applies does not
compile or refers to a value that nothing provides, or when the output’s artifact set
cannot be written. The output is then not made, with one exception: when a file that
the compose template ships cannot be added to the artifact set after the entry artifact
was written, the output is made without that file.
Fields§
§template: Option<String>The compose template’s name; None when the settings that choose it cannot be read.
output: StringThe name of the output it was applied for.
detail: StringWhat went wrong, as the template engine, the search for the compose template or the failed read states it.
Trait Implementations§
Source§impl Clone for TemplateFailed
impl Clone for TemplateFailed
Source§impl Debug for TemplateFailed
impl Debug for TemplateFailed
Source§impl DiagnosticInfo for TemplateFailed
impl DiagnosticInfo for TemplateFailed
Source§const IDENTIFIER: &'static str = "flm.compose.template-failed"
const IDENTIFIER: &'static str = "flm.compose.template-failed"
<crate-or-lang>.<area>.<condition>. Read moreSource§fn identifier(&self) -> &str
fn identifier(&self) -> &str
Source§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
Source§impl Display for TemplateFailed
impl Display for TemplateFailed
impl Eq for TemplateFailed
Source§impl PartialEq for TemplateFailed
impl PartialEq for TemplateFailed
impl StructuralPartialEq for TemplateFailed
Auto Trait Implementations§
impl Forget for TemplateFailed
impl Freeze for TemplateFailed
impl Move for TemplateFailed
impl RefUnwindSafe for TemplateFailed
impl Send for TemplateFailed
impl Sync for TemplateFailed
impl Unpin for TemplateFailed
impl UnsafeUnpin for TemplateFailed
impl UnwindSafe for TemplateFailed
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