pub struct QuickTunnelHandle {
pub url: String,
pub tunnel_id: Uuid,
pub account_tag: String,
pub location: String,
/* private fields */
}Fields§
§url: String§tunnel_id: Uuid§account_tag: String§location: StringImplementations§
Source§impl QuickTunnelHandle
impl QuickTunnelHandle
pub fn metrics(&self) -> TunnelMetrics
Sourcepub async fn shutdown_with(self, _grace: Duration) -> Result<(), TunnelError>
pub async fn shutdown_with(self, _grace: Duration) -> Result<(), TunnelError>
Signal the reactor to drain + unregister + close. Awaits the reactor task to fully finish.
pub async fn shutdown(self) -> Result<(), TunnelError>
Trait Implementations§
Source§impl Drop for QuickTunnelHandle
impl Drop for QuickTunnelHandle
Auto Trait Implementations§
impl Freeze for QuickTunnelHandle
impl !RefUnwindSafe for QuickTunnelHandle
impl Send for QuickTunnelHandle
impl Sync for QuickTunnelHandle
impl Unpin for QuickTunnelHandle
impl UnsafeUnpin for QuickTunnelHandle
impl !UnwindSafe for QuickTunnelHandle
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