pub struct IpAddressGenerator { /* private fields */ }Expand description
Generator for IP address strings. Created by ip_addresses().
By default generates both IPv4 and IPv6 addresses.
Implementations§
Trait Implementations§
Source§impl Generator<String> for IpAddressGenerator
impl Generator<String> for IpAddressGenerator
Source§fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
Transform generated values using a function. Read more
Source§fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
Generate a value, then use it to choose or configure another generator. Read more
Auto Trait Implementations§
impl Freeze for IpAddressGenerator
impl RefUnwindSafe for IpAddressGenerator
impl Send for IpAddressGenerator
impl Sync for IpAddressGenerator
impl Unpin for IpAddressGenerator
impl UnsafeUnpin for IpAddressGenerator
impl UnwindSafe for IpAddressGenerator
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