pub struct ProxyHandle {
pub provider: ProviderKind,
pub upstream: Url,
pub proxy_port: u16,
pub api_port: Option<u16>,
/* private fields */
}Fields§
§provider: ProviderKind§upstream: Url§proxy_port: u16§api_port: Option<u16>Implementations§
Source§impl ProxyHandle
impl ProxyHandle
pub fn subscribe_events(&self) -> Receiver<CaptureEvent>
pub fn event_sender(&self) -> &Sender<CaptureEvent>
pub fn is_finished(&self) -> bool
pub async fn shutdown(self)
Trait Implementations§
Source§impl Drop for ProxyHandle
impl Drop for ProxyHandle
Auto Trait Implementations§
impl Freeze for ProxyHandle
impl !RefUnwindSafe for ProxyHandle
impl Send for ProxyHandle
impl Sync for ProxyHandle
impl Unpin for ProxyHandle
impl UnsafeUnpin for ProxyHandle
impl !UnwindSafe for ProxyHandle
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