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§
Sourcefn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>
fn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>
Append the document onto out
Implementations on Foreign Types§
Source§impl<T: NetdocEncodable> NetdocEncodable for Arc<T>
impl<T: NetdocEncodable> NetdocEncodable for Arc<T>
fn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>
Implementors§
impl NetdocEncodable for AuthCert
impl NetdocEncodable for AuthCertSignatures
impl NetdocEncodable for EncodedAuthCert
impl NetdocEncodable for ConsensusAuthorityEntry
impl NetdocEncodable for ConsensusAuthoritySection
impl NetdocEncodable for VoteAuthorityEntry
impl NetdocEncodable for VoteAuthoritySection
Available on crate feature
incomplete only.