Struct tor_linkspec::UnparsedLinkSpec
source · pub struct UnparsedLinkSpec { /* private fields */ }Expand description
An unparsed piece of information about a relay and how to connect to it.
Unlike LinkSpec, this can’t be used directly; we only pass it on.
Implementations§
Trait Implementations§
source§impl Clone for UnparsedLinkSpec
impl Clone for UnparsedLinkSpec
source§fn clone(&self) -> UnparsedLinkSpec
fn clone(&self) -> UnparsedLinkSpec
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 moresource§impl Debug for UnparsedLinkSpec
impl Debug for UnparsedLinkSpec
source§impl PartialEq<UnparsedLinkSpec> for UnparsedLinkSpec
impl PartialEq<UnparsedLinkSpec> for UnparsedLinkSpec
source§fn eq(&self, other: &UnparsedLinkSpec) -> bool
fn eq(&self, other: &UnparsedLinkSpec) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Readable for UnparsedLinkSpec
impl Readable for UnparsedLinkSpec
source§impl Writeable for UnparsedLinkSpec
impl Writeable for UnparsedLinkSpec
source§fn write_onto<B: Writer + ?Sized>(&self, w: &mut B) -> EncodeResult<()>
fn write_onto<B: Writer + ?Sized>(&self, w: &mut B) -> EncodeResult<()>
Encode this object into the writer
b.impl Eq for UnparsedLinkSpec
impl StructuralEq for UnparsedLinkSpec
impl StructuralPartialEq for UnparsedLinkSpec
Auto Trait Implementations§
impl RefUnwindSafe for UnparsedLinkSpec
impl Send for UnparsedLinkSpec
impl Sync for UnparsedLinkSpec
impl Unpin for UnparsedLinkSpec
impl UnwindSafe for UnparsedLinkSpec
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<W> WriteableOnce for Wwhere
W: Writeable,
impl<W> WriteableOnce for Wwhere W: Writeable,
source§fn write_into<B>(self, b: &mut B) -> Result<(), EncodeError>where
B: Writer + ?Sized,
fn write_into<B>(self, b: &mut B) -> Result<(), EncodeError>where B: Writer + ?Sized,
Encode this object into the writer
b, and consume it.