pub struct TunnelSelection {
pub protocol: TunnelProtocol,
pub reason: String,
pub selection_time: Duration,
pub is_fallback: bool,
}Expand description
Result of tunnel auto-selection process
Fields§
§protocol: TunnelProtocolSelected protocol
reason: StringReason for selection
selection_time: DurationTime taken for selection process
is_fallback: boolWhether this was a fallback choice
Trait Implementations§
Source§impl Clone for TunnelSelection
impl Clone for TunnelSelection
Source§fn clone(&self) -> TunnelSelection
fn clone(&self) -> TunnelSelection
Returns a duplicate 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 TunnelSelection
impl RefUnwindSafe for TunnelSelection
impl Send for TunnelSelection
impl Sync for TunnelSelection
impl Unpin for TunnelSelection
impl UnwindSafe for TunnelSelection
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