linkspec: Derive Clone and Copy for VerbatimLinkSpecCircTarget.

This commit is contained in:
Nick Mathewson 2023-08-22 11:32:55 -04:00
parent 660adb6dc6
commit f2d6d7976d
2 changed files with 2 additions and 0 deletions

View File

@ -1 +1,2 @@
ADDED: OwnedChanTargetBuilder::from_encoded_linkspecs
ADDED: Clone and Debug for VerbatimLinkSpecCircTarget

View File

@ -9,6 +9,7 @@ use crate::{ChanTarget, CircTarget, EncodedLinkSpec, HasAddrs, HasChanMethod, Ha
/// Onion services and their clients use this type of target when telling a
/// relay to extend a circuit to a target relay (an introduction point or
/// rendezvous point) chosen by some other party.
#[derive(Clone, Debug)]
pub struct VerbatimLinkSpecCircTarget<T> {
/// The underlying CircTarget
target: T,