#[non_exhaustive]pub enum DutyType {
ReturnToVault,
DistributeShares,
DistributeMedia,
ArchiveMaterials,
PublishRecord,
NotifyStakeholders,
ImportKeys,
Custom,
}Expand description
Typed preset for common post-ceremony duty categories.
Provides built-in prose for scripts when no description is given.
Use Custom for duties that don’t fit a preset; description is then required.
Note: physical handling steps (sealing hardware, etc.) belong as physical_action
steps in ceremony execution, not here.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ReturnToVault
Return materials to secure storage location.
Hand key shares to assigned custodians.
DistributeMedia
Distribute backup media to designated recipients.
ArchiveMaterials
Archive ceremony materials at storage locations.
PublishRecord
Publish ceremony record and witness attestations.
NotifyStakeholders
Notify stakeholders of ceremony completion.
ImportKeys
Import generated keys into operational system.
Custom
Free-form duty; description is required.
Implementations§
Source§impl DutyType
impl DutyType
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Returns the built-in display name for this duty type.
Sourcepub fn built_in_prose(&self) -> Option<&'static str>
pub fn built_in_prose(&self) -> Option<&'static str>
Returns the built-in prose description for this duty type.
Returns None for Custom (description must be provided explicitly).