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§
fn format_item(&self, context: &FormatContext) -> EnvelopeFormatItem
Implementations on Foreign Types§
Source§impl EnvelopeFormat for XID
Implements formatting for XID in envelope notation.
impl EnvelopeFormat for XID
Implements formatting for XID in envelope notation.
fn format_item(&self, _context: &FormatContext) -> EnvelopeFormatItem
Implementors§
impl EnvelopeFormat for CBOR
Implements formatting for CBOR values in envelope notation.
impl EnvelopeFormat for KnownValue
Implements formatting for KnownValue in envelope notation.
impl EnvelopeFormat for Assertion
Implements formatting for Assertion in envelope notation.
impl EnvelopeFormat for Envelope
Implements formatting for Envelope in envelope notation.