Trait tor_netdoc::NetdocBuilder
source · pub trait NetdocBuilder {
// Required method
fn build_sign<R: RngCore + CryptoRng>(
self,
rng: &mut R
) -> Result<String, EncodeError>;
}
Available on crate feature
hs-service
only.Expand description
A trait for building and signing netdocs.
Required Methods§
sourcefn build_sign<R: RngCore + CryptoRng>(
self,
rng: &mut R
) -> Result<String, EncodeError>
fn build_sign<R: RngCore + CryptoRng>( self, rng: &mut R ) -> Result<String, EncodeError>
Build the document into textual form.
Object Safety§
This trait is not object safe.
Implementors§
impl<'a> NetdocBuilder for HsDescBuilder<'a>
Available on crate feature
hs-common
only.