Trait EnvelopeFormat

Source
pub trait EnvelopeFormat {
    // Required method
    fn format_item(&self, context: &FormatContext) -> EnvelopeFormatItem;
}
Expand description

Implementers of this trait define how to be formatted in when output in envelope notation.

Required Methods§

Implementations on Foreign Types§

Source§

impl EnvelopeFormat for XID

Implements formatting for XID in envelope notation.

Implementors§

Source§

impl EnvelopeFormat for CBOR

Implements formatting for CBOR values in envelope notation.

Source§

impl EnvelopeFormat for KnownValue

Implements formatting for KnownValue in envelope notation.

Source§

impl EnvelopeFormat for Assertion

Implements formatting for Assertion in envelope notation.

Source§

impl EnvelopeFormat for Envelope

Implements formatting for Envelope in envelope notation.