pub enum PortIpRequest {
IpAddress(IpAddr),
AnyIpFromSubnet(SubnetRef),
IpFromSubnet(IpAddr, SubnetRef),
}Expand description
A request of a fixed IP address.
Variants§
IpAddress(IpAddr)
Request this IP from any subnet.
AnyIpFromSubnet(SubnetRef)
Request any IP from the given subnet.
IpFromSubnet(IpAddr, SubnetRef)
Request this IP from the given subnet.
Trait Implementations§
Source§impl Clone for PortIpRequest
impl Clone for PortIpRequest
Source§fn clone(&self) -> PortIpRequest
fn clone(&self) -> PortIpRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PortIpRequest
impl RefUnwindSafe for PortIpRequest
impl Send for PortIpRequest
impl Sync for PortIpRequest
impl Unpin for PortIpRequest
impl UnwindSafe for PortIpRequest
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