OpenVPN 3 Core Library
Loading...
Searching...
No Matches
rc::Arbitrary< openvpn::TunBuilderCapture::RouteBase > Struct Reference

Specialization of Arbitrary for the RouteBase type. More...

#include <test_generators.hpp>

Static Public Member Functions

static auto arbitrary () -> Gen< openvpn::TunBuilderCapture::RouteBase >
 Generates a value of type RouteBase.
 

Detailed Description

Specialization of Arbitrary for the RouteBase type.

This struct specializes the Arbitrary template for the openvpn::TunBuilderCapture::RouteBase type. It provides an arbitrary function that produces a generator for this type.

Definition at line 439 of file test_generators.hpp.

Member Function Documentation

◆ arbitrary()

static auto rc::Arbitrary< openvpn::TunBuilderCapture::RouteBase >::arbitrary ( ) -> Gen<openvpn::TunBuilderCapture::RouteBase>
inlinestatic

Generates a value of type RouteBase.

This function uses gen::just to generate a default instance of openvpn::TunBuilderCapture::RouteBase.

Returns
A generator (Gen) that produces a RouteBase object.

Definition at line 447 of file test_generators.hpp.


The documentation for this struct was generated from the following file: