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: TunnelProtocol
Selected protocol
reason: String
Reason for selection
selection_time: Duration
Time taken for selection process
is_fallback: bool
Whether 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§const fn clone_from(&mut self, source: &Self)
const 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