pub struct ProxyRuntime {
pub service_name: &'static str,
pub host: IpAddr,
pub port: u16,
pub admin_addr: SocketAddr,
pub config: Arc<ProxyConfig>,
pub proxy: ProxyService,
pub state: Arc<ProxyState>,
pub shutdown_tx: Sender<bool>,
/* private fields */
}Fields§
§service_name: &'static str§host: IpAddr§port: u16§admin_addr: SocketAddr§config: Arc<ProxyConfig>§proxy: ProxyService§state: Arc<ProxyState>§shutdown_tx: Sender<bool>Implementations§
Source§impl ProxyRuntime
impl ProxyRuntime
pub fn shutdown_receiver(&self) -> Receiver<bool>
pub fn start(self) -> RunningProxyRuntime
Auto Trait Implementations§
impl !Freeze for ProxyRuntime
impl !RefUnwindSafe for ProxyRuntime
impl Send for ProxyRuntime
impl Sync for ProxyRuntime
impl Unpin for ProxyRuntime
impl UnsafeUnpin for ProxyRuntime
impl !UnwindSafe for ProxyRuntime
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