pub struct ProxyServer { /* private fields */ }Expand description
Proxy server implementation
Implementations§
Source§impl ProxyServer
impl ProxyServer
Sourcepub fn new(
config: MitmConfig,
cert_manager: Arc<CertificateManager>,
interceptor_handler: Arc<RwLock<InterceptorHandler>>,
) -> Result<Self>
pub fn new( config: MitmConfig, cert_manager: Arc<CertificateManager>, interceptor_handler: Arc<RwLock<InterceptorHandler>>, ) -> Result<Self>
Create a new proxy server
Auto Trait Implementations§
impl !Freeze for ProxyServer
impl !RefUnwindSafe for ProxyServer
impl Send for ProxyServer
impl Sync for ProxyServer
impl Unpin for ProxyServer
impl UnsafeUnpin for ProxyServer
impl !UnwindSafe for ProxyServer
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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