pub struct UpstreamProxyBootstrap {
pub remote: RemoteSessionContext,
pub upstream_proxy_enabled: bool,
pub token_path: PathBuf,
pub ca_bundle_path: PathBuf,
pub system_ca_path: PathBuf,
pub token: Option<String>,
}Fields§
§remote: RemoteSessionContext§upstream_proxy_enabled: bool§token_path: PathBuf§ca_bundle_path: PathBuf§system_ca_path: PathBuf§token: Option<String>Implementations§
Source§impl UpstreamProxyBootstrap
impl UpstreamProxyBootstrap
pub fn from_env() -> Self
pub fn from_env_map(env_map: &BTreeMap<String, String>) -> Self
pub fn should_enable(&self) -> bool
pub fn ws_url(&self) -> String
pub fn state_for_port(&self, port: u16) -> UpstreamProxyState
Trait Implementations§
Source§impl Clone for UpstreamProxyBootstrap
impl Clone for UpstreamProxyBootstrap
Source§fn clone(&self) -> UpstreamProxyBootstrap
fn clone(&self) -> UpstreamProxyBootstrap
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpstreamProxyBootstrap
impl Debug for UpstreamProxyBootstrap
Source§impl PartialEq for UpstreamProxyBootstrap
impl PartialEq for UpstreamProxyBootstrap
impl Eq for UpstreamProxyBootstrap
impl StructuralPartialEq for UpstreamProxyBootstrap
Auto Trait Implementations§
impl Freeze for UpstreamProxyBootstrap
impl RefUnwindSafe for UpstreamProxyBootstrap
impl Send for UpstreamProxyBootstrap
impl Sync for UpstreamProxyBootstrap
impl Unpin for UpstreamProxyBootstrap
impl UnsafeUnpin for UpstreamProxyBootstrap
impl UnwindSafe for UpstreamProxyBootstrap
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