pub struct ProxyService { /* private fields */ }Expand description
The assembled proxy service. Call run() to start.
Implementations§
Source§impl ProxyService
impl ProxyService
Sourcepub async fn run(self) -> ProxyResult<()>
pub async fn run(self) -> ProxyResult<()>
Run the proxy until shutdown.
Sourcepub fn conversions(&self) -> &ConversionRegistry
pub fn conversions(&self) -> &ConversionRegistry
Access the conversion registry.
Sourcepub fn event_store(&self) -> &Arc<EventStore>
pub fn event_store(&self) -> &Arc<EventStore>
Access the event store for querying captured traffic.
Sourcepub fn event_broadcaster(&self) -> &Arc<EventBroadcaster>
pub fn event_broadcaster(&self) -> &Arc<EventBroadcaster>
Access the broadcaster for subscribing to live events.
Auto Trait Implementations§
impl Freeze for ProxyService
impl !RefUnwindSafe for ProxyService
impl Send for ProxyService
impl Sync for ProxyService
impl Unpin for ProxyService
impl UnsafeUnpin for ProxyService
impl !UnwindSafe for ProxyService
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