pub struct ProxyServer { /* private fields */ }Implementations§
Source§impl ProxyServer
impl ProxyServer
pub fn new(config: ProxyConfig) -> Self
pub fn with_auth_handle(self, auth_handle: ProxyAuthHandle) -> Self
pub fn with_metrics(self, metrics: Arc<MetricsCollector>) -> Self
pub fn auth_handle(&self) -> Option<ProxyAuthHandle>
pub fn run(&self) -> Result<(), SynError>
Auto Trait Implementations§
impl !RefUnwindSafe for ProxyServer
impl !UnwindSafe for ProxyServer
impl Freeze for ProxyServer
impl Send for ProxyServer
impl Sync for ProxyServer
impl Unpin for ProxyServer
impl UnsafeUnpin for ProxyServer
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