Struct tor_linkspec::PtTargetSettings
source · [−]pub struct PtTargetSettings { /* private fields */ }Available on crate feature
pt-client only.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.
Trait Implementations
sourceimpl Clone for PtTargetSettings
impl Clone for PtTargetSettings
sourcefn clone(&self) -> PtTargetSettings
fn clone(&self) -> PtTargetSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for PtTargetSettings
impl Send for PtTargetSettings
impl Sync for PtTargetSettings
impl Unpin for PtTargetSettings
impl UnwindSafe for PtTargetSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more