pub struct Tunnel {
pub adapter: AdapterHandle,
pub rsd: RsdHandshake,
pub connection: String,
pub open_ms: u128,
pub heartbeat: Option<Heartbeat>,
}Fields§
§adapter: AdapterHandle§rsd: RsdHandshake§connection: String§open_ms: u128§heartbeat: Option<Heartbeat>Kept so the phone goes on answering the tunnel while it is open.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Tunnel
impl Freeze for Tunnel
impl Move for Tunnel
impl RefUnwindSafe for Tunnel
impl Send for Tunnel
impl Sync for Tunnel
impl Unpin for Tunnel
impl UnsafeUnpin for Tunnel
impl UnwindSafe for Tunnel
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