pub struct MissingCiSlot {
pub nome: String,
}Expand description
Typed :ci-slot-absence view: the canonical surface every per-Acao
consumer raises when it’s handed a :kind Acao Caixa whose :ci
slot is absent. Carries the offending caixa’s :nome so the diagnostic
reads caixa "<nome>": :kind Acao requires a :ci slot — naming which
caixa.lisp needs author attention, not just the axis the consumer
rejected.
Lifted from caixa-actions’ inline
.ok_or_else(|| Error::MissingCi { nome: caixa.nome().to_string() })
gate so a future per-Acao consumer (the deferred
sui-supercacheci::canteiro::emit_gha workflow renderer, the future
per-Acao CR materializer that mirrors the sibling per-Servico and
per-Aplicacao materializers the M4 roadmap acknowledges) reaches for
the same typed view via #[from] instead of re-inlining the same
.ok_or_else(...) construction.
Peer of KindMismatch on the per-renderer kind-gate axis and
ServicoCountMismatch on the per-Servico V0-count-gate axis — the
third typed named-caixa entry-gate view every per-kind
caixa-<target> renderer wraps via #[from] in its own
thiserror Error enum.
Fields§
§nome: StringThe offending caixa’s :nome — names which caixa.lisp the
consumer was handed, so the diagnostic doesn’t require the user
to grep for it.
Trait Implementations§
Source§impl Clone for MissingCiSlot
impl Clone for MissingCiSlot
Source§fn clone(&self) -> MissingCiSlot
fn clone(&self) -> MissingCiSlot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MissingCiSlot
impl Debug for MissingCiSlot
Source§impl Display for MissingCiSlot
impl Display for MissingCiSlot
impl Eq for MissingCiSlot
Source§impl Error for MissingCiSlot
impl Error for MissingCiSlot
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for MissingCiSlot
impl PartialEq for MissingCiSlot
impl StructuralPartialEq for MissingCiSlot
Auto Trait Implementations§
impl Freeze for MissingCiSlot
impl RefUnwindSafe for MissingCiSlot
impl Send for MissingCiSlot
impl Sync for MissingCiSlot
impl Unpin for MissingCiSlot
impl UnsafeUnpin for MissingCiSlot
impl UnwindSafe for MissingCiSlot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.