Struct tor_linkspec::PtTargetSettings
source · pub struct PtTargetSettings { /* private fields */ }Expand description
A set of options to be passed along to a pluggable transport along with a single target bridge relay.
These options typically describe aspects of the targeted bridge relay that are not included in its address and Tor keys, such as additional transport-specific keys or parameters.
This type is not for settings that apply to all of the connections over a transport.
Implementations§
Trait Implementations§
source§impl Clone for PtTargetSettings
impl Clone for PtTargetSettings
source§fn clone(&self) -> PtTargetSettings
fn clone(&self) -> PtTargetSettings
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 PtTargetSettings
impl Debug for PtTargetSettings
source§impl Default for PtTargetSettings
impl Default for PtTargetSettings
source§fn default() -> PtTargetSettings
fn default() -> PtTargetSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PtTargetSettings
impl<'de> Deserialize<'de> for PtTargetSettings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<PtTargetSettings> for Vec<(String, String)>
impl From<PtTargetSettings> for Vec<(String, String)>
source§fn from(settings: PtTargetSettings) -> Self
fn from(settings: PtTargetSettings) -> Self
Converts to this type from the input type.