pub struct L2tpv3 { /* private fields */ }Expand description
Linux Ethernet-over-L2TPv3 pseudowire backend.
Implementations§
Trait Implementations§
Source§impl Arbitrary for L2tpv3
impl Arbitrary for L2tpv3
Source§type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<u16> as Arbitrary>::Parameters, <Option<u16> as Arbitrary>::Parameters, <Option<u32> as Arbitrary>::Parameters, <u32 as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, (<Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<u64> as Arbitrary>::Parameters, <Option<u64> as Arbitrary>::Parameters, <Option<u32> as Arbitrary>::Parameters))
type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<u16> as Arbitrary>::Parameters, <Option<u16> as Arbitrary>::Parameters, <Option<u32> as Arbitrary>::Parameters, <u32 as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, (<Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<u64> as Arbitrary>::Parameters, <Option<u64> as Arbitrary>::Parameters, <Option<u32> as Arbitrary>::Parameters))
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<u16> as Arbitrary>::Strategy, <Option<u16> as Arbitrary>::Strategy, <Option<u32> as Arbitrary>::Strategy, <u32 as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, (<Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<u64> as Arbitrary>::Strategy, <Option<u64> as Arbitrary>::Strategy, <Option<u32> as Arbitrary>::Strategy)), fn((String, String, String, Option<u16>, Option<u16>, Option<u32>, u32, Option<OnOff>, Option<OnOff>, (Option<OnOff>, Option<OnOff>, Option<OnOff>, Option<u64>, Option<u64>, Option<u32>))) -> L2tpv3>
type Strategy = Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<u16> as Arbitrary>::Strategy, <Option<u16> as Arbitrary>::Strategy, <Option<u32> as Arbitrary>::Strategy, <u32 as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, (<Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<u64> as Arbitrary>::Strategy, <Option<u64> as Arbitrary>::Strategy, <Option<u32> as Arbitrary>::Strategy)), fn((String, String, String, Option<u16>, Option<u16>, Option<u32>, u32, Option<OnOff>, Option<OnOff>, (Option<OnOff>, Option<OnOff>, Option<OnOff>, Option<u64>, Option<u64>, Option<u32>))) -> L2tpv3>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
impl Eq for L2tpv3
Source§impl Ord for L2tpv3
impl Ord for L2tpv3
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for L2tpv3
impl PartialOrd for L2tpv3
impl StructuralPartialEq for L2tpv3
Source§impl ToCommand for L2tpv3
impl ToCommand for L2tpv3
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()fn has_args(&self) -> bool
Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
StringAuto Trait Implementations§
impl Freeze for L2tpv3
impl RefUnwindSafe for L2tpv3
impl Send for L2tpv3
impl Sync for L2tpv3
impl Unpin for L2tpv3
impl UnsafeUnpin for L2tpv3
impl UnwindSafe for L2tpv3
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