pub struct Udp { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Arbitrary for Udp
impl Arbitrary for Udp
Source§type Parameters = (<Option<String> as Arbitrary>::Parameters, <u16 as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<u16> as Arbitrary>::Parameters)
type Parameters = (<Option<String> as Arbitrary>::Parameters, <u16 as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<u16> 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<(<Option<String> as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<u16> as Arbitrary>::Strategy), fn((Option<String>, u16, Option<String>, Option<u16>)) -> Udp>
type Strategy = Map<(<Option<String> as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<u16> as Arbitrary>::Strategy), fn((Option<String>, u16, Option<String>, Option<u16>)) -> Udp>
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
Source§impl Ord for Udp
impl Ord for Udp
Source§impl PartialOrd for Udp
impl PartialOrd for Udp
impl Eq for Udp
impl StructuralPartialEq for Udp
Auto Trait Implementations§
impl Freeze for Udp
impl RefUnwindSafe for Udp
impl Send for Udp
impl Sync for Udp
impl Unpin for Udp
impl UnsafeUnpin for Udp
impl UnwindSafe for Udp
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