#[non_exhaustive]pub enum OutputType {
PublicKey,
WrappedKey,
EncryptedData,
Certificate,
SignedRrset,
Sct,
Document,
CeremonyLog,
}Expand description
Type of output produced by a ceremony.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PublicKey
Public key in PEM format.
WrappedKey
A key wrapped for transport, in the container its scheme names.
EncryptedData
Content encrypted for a recipient, in the container its scheme names.
Certificate
X.509 certificate.
SignedRrset
DNSSEC signed resource record set.
Sct
Certificate Transparency Signed Certificate Timestamp.
Document
Generic document.
CeremonyLog
Ceremony log or transcript.
Implementations§
Source§impl OutputType
impl OutputType
Sourcepub fn default_extension(&self) -> &'static str
pub fn default_extension(&self) -> &'static str
Returns the default file extension for this output type.
Trait Implementations§
Source§impl Clone for OutputType
impl Clone for OutputType
impl Copy for OutputType
Source§impl Debug for OutputType
impl Debug for OutputType
Source§impl<'de> Deserialize<'de> for OutputType
impl<'de> Deserialize<'de> for OutputType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OutputType
impl Display for OutputType
impl Eq for OutputType
Source§impl Hash for OutputType
impl Hash for OutputType
Source§impl PartialEq for OutputType
impl PartialEq for OutputType
Source§impl Serialize for OutputType
impl Serialize for OutputType
impl StructuralPartialEq for OutputType
Auto Trait Implementations§
impl Freeze for OutputType
impl RefUnwindSafe for OutputType
impl Send for OutputType
impl Sync for OutputType
impl Unpin for OutputType
impl UnsafeUnpin for OutputType
impl UnwindSafe for OutputType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.