pub struct EndpointTester { /* private fields */ }
Expand description
Endpoint tester for validating against real QUIC servers
Implementations§
Source§impl EndpointTester
impl EndpointTester
Sourcepub fn with_timeout(self, duration: Duration) -> Self
pub fn with_timeout(self, duration: Duration) -> Self
Set custom timeout duration
Sourcepub fn add_endpoint(&mut self, endpoint: String)
pub fn add_endpoint(&mut self, endpoint: String)
Add custom endpoint for testing
Sourcepub async fn test_all_endpoints(&mut self) -> EndpointValidationReport
pub async fn test_all_endpoints(&mut self) -> EndpointValidationReport
Test all endpoints
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EndpointTester
impl !RefUnwindSafe for EndpointTester
impl Send for EndpointTester
impl Sync for EndpointTester
impl Unpin for EndpointTester
impl !UnwindSafe for EndpointTester
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