pub struct CeremonyValidationFinding { /* private fields */ }Expand description
One defect found while analysing a ceremony definition.
The defect keeps the typed DomainError that describes it, so a
blocking finding can be surfaced as the exact error a caller would
have received from fail-fast construction.
Deliberately not serializable: it carries a DomainError, and
serialization belongs to the adapter layer. An adapter renders the
finding into its own wire shape.
Implementations§
Source§impl CeremonyValidationFinding
impl CeremonyValidationFinding
pub fn error(locus: CeremonyValidationLocus, defect: DomainError) -> Self
pub fn warning(locus: CeremonyValidationLocus, defect: DomainError) -> Self
pub fn severity(&self) -> CeremonyValidationSeverity
pub fn locus(&self) -> &CeremonyValidationLocus
pub fn defect(&self) -> &DomainError
pub fn is_blocking(&self) -> bool
Trait Implementations§
Source§impl Clone for CeremonyValidationFinding
impl Clone for CeremonyValidationFinding
Source§impl Debug for CeremonyValidationFinding
impl Debug for CeremonyValidationFinding
impl StructuralPartialEq for CeremonyValidationFinding
Auto Trait Implementations§
impl Freeze for CeremonyValidationFinding
impl RefUnwindSafe for CeremonyValidationFinding
impl Send for CeremonyValidationFinding
impl Sync for CeremonyValidationFinding
impl Unpin for CeremonyValidationFinding
impl UnsafeUnpin for CeremonyValidationFinding
impl UnwindSafe for CeremonyValidationFinding
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