pub enum IpPortPadding {
WithPadding,
NoPadding,
}
Expand description
Defines whether 12 bytes padding should be inserted after IPv4 address to align it with IPv6 address.
Variants§
Trait Implementations§
Source§impl Clone for IpPortPadding
impl Clone for IpPortPadding
Source§fn clone(&self) -> IpPortPadding
fn clone(&self) -> IpPortPadding
Returns a copy 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 moreSource§impl Debug for IpPortPadding
impl Debug for IpPortPadding
Source§impl PartialEq for IpPortPadding
impl PartialEq for IpPortPadding
impl Copy for IpPortPadding
impl Eq for IpPortPadding
impl StructuralPartialEq for IpPortPadding
Auto Trait Implementations§
impl Freeze for IpPortPadding
impl RefUnwindSafe for IpPortPadding
impl Send for IpPortPadding
impl Sync for IpPortPadding
impl Unpin for IpPortPadding
impl UnwindSafe for IpPortPadding
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