Skip to main content

NetdocEncodable

Trait NetdocEncodable 

Source
pub trait NetdocEncodable {
    // Required method
    fn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>;
}
Expand description

Documents (or sub-documents) that can be encoded in the netdoc metaformat

Required Methods§

Source

fn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>

Append the document onto out

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: NetdocEncodable> NetdocEncodable for Arc<T>

Implementors§

Source§

impl NetdocEncodable for AuthCert

Source§

impl NetdocEncodable for AuthCertSignatures

Source§

impl NetdocEncodable for ConsensusAuthorityEntry

Source§

impl NetdocEncodable for ConsensusAuthoritySection

Source§

impl NetdocEncodable for EncodedAuthCert

Available on crate feature incomplete only.
Source§

impl NetdocEncodable for VoteAuthorityEntry

Source§

impl NetdocEncodable for VoteAuthoritySection

Available on crate feature incomplete only.