pub struct ProxyRuntimeOptions {
pub admin_addr: SocketAddr,
pub advertised_admin_base_url: Option<String>,
pub host_local_session_history_mode: HostLocalSessionHistoryMode,
}Fields§
§admin_addr: SocketAddr§advertised_admin_base_url: Option<String>§host_local_session_history_mode: HostLocalSessionHistoryModeImplementations§
Source§impl ProxyRuntimeOptions
impl ProxyRuntimeOptions
pub fn for_proxy_port(port: u16) -> Self
pub fn with_admin_addr(self, admin_addr: SocketAddr) -> Self
pub fn with_advertised_admin_base_url( self, advertised_admin_base_url: Option<String>, ) -> Self
pub fn with_host_local_session_history_mode( self, mode: HostLocalSessionHistoryMode, ) -> Self
Trait Implementations§
Source§impl Clone for ProxyRuntimeOptions
impl Clone for ProxyRuntimeOptions
Source§fn clone(&self) -> ProxyRuntimeOptions
fn clone(&self) -> ProxyRuntimeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProxyRuntimeOptions
impl RefUnwindSafe for ProxyRuntimeOptions
impl Send for ProxyRuntimeOptions
impl Sync for ProxyRuntimeOptions
impl Unpin for ProxyRuntimeOptions
impl UnsafeUnpin for ProxyRuntimeOptions
impl UnwindSafe for ProxyRuntimeOptions
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