Struct tor_netdoc::doc::hsdesc::HsDescOuter
source · pub struct HsDescOuter { /* private fields */ }
Available on crate features
hs-common
and hsdesc-inner-docs
only.Expand description
A more-or-less verbatim representation of the outermost plaintext document of an onion service descriptor.
Implementations§
source§impl HsDescOuter
impl HsDescOuter
sourcepub fn parse(s: &str) -> Result<SignatureGated<TimerangeBound<HsDescOuter>>>
pub fn parse(s: &str) -> Result<SignatureGated<TimerangeBound<HsDescOuter>>>
Try to parse an outer document of an onion service descriptor from a string.
Trait Implementations§
source§impl Clone for HsDescOuter
impl Clone for HsDescOuter
source§fn clone(&self) -> HsDescOuter
fn clone(&self) -> HsDescOuter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for HsDescOuter
impl RefUnwindSafe for HsDescOuter
impl Send for HsDescOuter
impl Sync for HsDescOuter
impl Unpin for HsDescOuter
impl UnwindSafe for HsDescOuter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more