fn finish<Request, Response, Assertion, Error>(
        self,
    ) -> MockService<Request, Response, Assertion, Error> {
        let proxy_channel_size = self
            .proxy_channel_size
            .unwrap_or(DEFAULT_PROXY_CHANNEL_SIZE);
        let (sender, receiver) = broadcast::channel(proxy_channel_size);

        MockService {
            receiver,
            sender,
            max_request_delay: self.max_request_delay.unwrap_or(DEFAULT_MAX_REQUEST_DELAY),
            _assertion_type: PhantomData,
        }
    }
/// An internal helper method to create the actual [`MockService`].
///
/// Note that this is used by both [`Self::for_prop_tests`] and [`Self::for_unit_tests`], the
/// only difference being the `Assertion` generic type parameter, which Rust infers
/// automatically.
An internal helper method to create the actual [`MockService`].
An internal helper method to create the actual [ ` MockService ` ] .
fn finish<Request, Response, Assertion, Error>(
        self,
    ) -> MockService<Request, Response, Assertion, Error> {
        let proxy_channel_size = self
            .proxy_channel_size
            .unwrap_or(DEFAULT_PROXY_CHANNEL_SIZE);
        let (sender, receiver) = broadcast::channel(proxy_channel_size);
        MockService {
            receiver,
            sender,
            max_request_delay: self.max_request_delay.unwrap_or(DEFAULT_MAX_REQUEST_DELAY),
            _assertion_type: PhantomData,
        }
    }
fn finish < Request , Response , Assertion , Error > ( self , ) -> MockService < Request , Response , Assertion , Error > { let proxy_channel_size = self . proxy_channel_size . unwrap_or ( DEFAULT_PROXY_CHANNEL_SIZE ) ; let ( sender , receiver ) = broadcast :: channel ( proxy_channel_size ) ; MockService { receiver , sender , max_request_delay : self . max_request_delay . unwrap_or ( DEFAULT_MAX_REQUEST_DELAY ) , _assertion_type : PhantomData , } }
An internal helper method to create the actual [`MockService`].
An internal helper method to create the actual [ ` MockService ` ] .
self