Struct ipaddr::Ipv4Address[][src]

pub struct Ipv4Address(_);

An Ipv4 address

Methods

impl Ipv4Address
[src]

Return true if this address is 0.0.0.0

assert!(Ipv4Address::from(0).is_unspecified())

Return true if this address is 127.0.0.1

assert!(Ipv4Address::from_str("127.0.0.1").unwrap().is_loopback())

Return true if this address is a multicast address

let ip = Ipv4Address::from_str("224.0.0.0").unwrap();
// 224.0.0.0 is multicast
assert!(ip.is_multicast());
// 239.255.255.255 is multicast
assert!(! (ip - 1).is_multicast());

let ip = Ipv4Address::from_str("239.255.255.255").unwrap();
// 239.255.255.255 is multicast
assert!(ip.is_multicast());
// 240.0.0.0 is not multicast
assert!(! (ip + 1).is_multicast());

Return the address as an u32

let ip = Ipv4Address::from_str("255.255.0.0").unwrap();
assert_eq!(ip.value(), 0xffff_0000);
assert_eq!((ip + 1).value(), 0xffff_0001);

Return the address as an array of bytes

let ip = Ipv4Address::from_str("1.2.3.4").unwrap();
assert_eq!(ip.octets(), [1, 2, 3, 4]);

Create an Ipv4Address from the four first bytes of a slice. This method panics if the slice is not long enough. If you don't want to validate the slice, use from_slice instead.

let ip = Ipv4Address::from_slice_unchecked(&[1, 2, 3, 4][..]);
assert_eq!(ip, Ipv4Address::from(0x01020304));

Panics

This method panics if the slice contains more or less than 4 bytes.

Create an Ipv4Address from the four first bytes of a slice. If the slice is not long enough, this method returns an error.

let ip = Ipv4Address::from_slice(&[1, 2, 3, 4][..]);
assert!(ip.is_ok());
assert_eq!(ip.unwrap(), Ipv4Address::from(0x01020304));

let ip = Ipv4Address::from_slice(&[1, 2, 3][..]);
assert!(ip.is_err());

Return a human readable representation of the IPv4 address.

let ip = Ipv4Address::from(0x01020304);
assert_eq!(ip.to_string(), "1.2.3.4".to_string());

impl Ipv4Address
[src]

Trait Implementations

impl Copy for Ipv4Address
[src]

impl Eq for Ipv4Address
[src]

impl PartialEq for Ipv4Address
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Ipv4Address
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Ipv4Address
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Ipv4Address
[src]

Formats the value using the given formatter. Read more

impl Debug for Ipv4Address
[src]

Formats the value using the given formatter. Read more

impl<'a> TryFrom<&'a [u8]> for Ipv4Address
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<[u8; 16]> for Ipv4Address
[src]

Performs the conversion.

impl AsRef<u32> for Ipv4Address
[src]

Performs the conversion.

impl AsMut<u32> for Ipv4Address
[src]

Performs the conversion.

impl Add for Ipv4Address
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a, 'b> Add<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<u32> for Ipv4Address
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<u32> for &'a Ipv4Address
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<&'a u32> for Ipv4Address
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a, 'b> Add<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign for Ipv4Address
[src]

Performs the += operation.

impl<'a> AddAssign<&'a Ipv4Address> for Ipv4Address
[src]

Performs the += operation.

impl AddAssign<u32> for Ipv4Address
[src]

Performs the += operation.

impl<'a> AddAssign<&'a u32> for Ipv4Address
[src]

Performs the += operation.

impl Sub for Ipv4Address
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a> Sub<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a> Sub<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a, 'b> Sub<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<u32> for Ipv4Address
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a> Sub<u32> for &'a Ipv4Address
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a> Sub<&'a u32> for Ipv4Address
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a, 'b> Sub<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign for Ipv4Address
[src]

Performs the -= operation.

impl<'a> SubAssign<&'a Ipv4Address> for Ipv4Address
[src]

Performs the -= operation.

impl SubAssign<u32> for Ipv4Address
[src]

Performs the -= operation.

impl<'a> SubAssign<&'a u32> for Ipv4Address
[src]

Performs the -= operation.

impl Div for Ipv4Address
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl<'a> Div<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl<'a> Div<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl<'a, 'b> Div<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Div<u32> for Ipv4Address
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl<'a> Div<u32> for &'a Ipv4Address
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl<'a> Div<&'a u32> for Ipv4Address
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl<'a, 'b> Div<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl DivAssign for Ipv4Address
[src]

Performs the /= operation.

impl<'a> DivAssign<&'a Ipv4Address> for Ipv4Address
[src]

Performs the /= operation.

impl DivAssign<u32> for Ipv4Address
[src]

Performs the /= operation.

impl<'a> DivAssign<&'a u32> for Ipv4Address
[src]

Performs the /= operation.

impl Rem for Ipv4Address
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl<'a> Rem<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl<'a> Rem<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl<'a, 'b> Rem<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl Rem<u32> for Ipv4Address
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl<'a> Rem<u32> for &'a Ipv4Address
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl<'a> Rem<&'a u32> for Ipv4Address
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl<'a, 'b> Rem<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl RemAssign for Ipv4Address
[src]

Performs the %= operation.

impl<'a> RemAssign<&'a Ipv4Address> for Ipv4Address
[src]

Performs the %= operation.

impl RemAssign<u32> for Ipv4Address
[src]

Performs the %= operation.

impl<'a> RemAssign<&'a u32> for Ipv4Address
[src]

Performs the %= operation.

impl Mul for Ipv4Address
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a, 'b> Mul<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<u32> for Ipv4Address
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<u32> for &'a Ipv4Address
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<&'a u32> for Ipv4Address
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a, 'b> Mul<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl MulAssign for Ipv4Address
[src]

Performs the *= operation.

impl<'a> MulAssign<&'a Ipv4Address> for Ipv4Address
[src]

Performs the *= operation.

impl MulAssign<u32> for Ipv4Address
[src]

Performs the *= operation.

impl<'a> MulAssign<&'a u32> for Ipv4Address
[src]

Performs the *= operation.

impl BitAnd for Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a> BitAnd<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a> BitAnd<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a, 'b> BitAnd<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAnd<u32> for Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a> BitAnd<u32> for &'a Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a> BitAnd<&'a u32> for Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a, 'b> BitAnd<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAndAssign for Ipv4Address
[src]

Performs the &= operation.

impl<'a> BitAndAssign<&'a Ipv4Address> for Ipv4Address
[src]

Performs the &= operation.

impl BitAndAssign<u32> for Ipv4Address
[src]

Performs the &= operation.

impl<'a> BitAndAssign<&'a u32> for Ipv4Address
[src]

Performs the &= operation.

impl BitOr for Ipv4Address
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<'a> BitOr<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<'a> BitOr<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<'a, 'b> BitOr<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOr<u32> for Ipv4Address
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<'a> BitOr<u32> for &'a Ipv4Address
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<'a> BitOr<&'a u32> for Ipv4Address
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<'a, 'b> BitOr<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOrAssign for Ipv4Address
[src]

Performs the |= operation.

impl<'a> BitOrAssign<&'a Ipv4Address> for Ipv4Address
[src]

Performs the |= operation.

impl BitOrAssign<u32> for Ipv4Address
[src]

Performs the |= operation.

impl<'a> BitOrAssign<&'a u32> for Ipv4Address
[src]

Performs the |= operation.

impl BitXor for Ipv4Address
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl<'a> BitXor<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl<'a> BitXor<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl<'a, 'b> BitXor<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitXor<u32> for Ipv4Address
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl<'a> BitXor<u32> for &'a Ipv4Address
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl<'a> BitXor<&'a u32> for Ipv4Address
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl<'a, 'b> BitXor<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitXorAssign for Ipv4Address
[src]

Performs the ^= operation.

impl<'a> BitXorAssign<&'a Ipv4Address> for Ipv4Address
[src]

Performs the ^= operation.

impl BitXorAssign<u32> for Ipv4Address
[src]

Performs the ^= operation.

impl<'a> BitXorAssign<&'a u32> for Ipv4Address
[src]

Performs the ^= operation.

impl Shl for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<u128> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<u128> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a u128> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a u128> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i128> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<i128> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a i128> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a i128> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<u64> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<u64> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a u64> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a u64> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i64> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<i64> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a i64> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a i64> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<u32> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<u32> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a u32> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i32> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<i32> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a i32> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a i32> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<u16> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<u16> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a u16> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a u16> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i16> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<i16> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a i16> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a i16> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<u8> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<u8> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a u8> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a u8> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i8> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<i8> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a i8> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a i8> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<usize> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<usize> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a usize> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a usize> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<isize> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<isize> for &'a Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a> Shl<&'a isize> for Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl<'a, 'b> Shl<&'a isize> for &'b Ipv4Address
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<Ipv4Address> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a Ipv4Address> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a Ipv4Address> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u128> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<u128> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a u128> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a u128> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i128> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<i128> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a i128> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a i128> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u64> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<u64> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a u64> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a u64> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i64> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<i64> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a i64> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a i64> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u32> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<u32> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a u32> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a u32> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i32> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<i32> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a i32> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a i32> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u16> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<u16> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a u16> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a u16> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i16> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<i16> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a i16> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a i16> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u8> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<u8> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a u8> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a u8> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i8> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<i8> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a i8> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a i8> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<usize> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<usize> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a usize> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a usize> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<isize> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<isize> for &'a Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a> Shr<&'a isize> for Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl<'a, 'b> Shr<&'a isize> for &'b Ipv4Address
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Not for Ipv4Address
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl<'a> Not for &'a Ipv4Address
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl LowerHex for Ipv4Address
[src]

Formats the value using the given formatter.

impl UpperHex for Ipv4Address
[src]

Formats the value using the given formatter.

impl Binary for Ipv4Address
[src]

Formats the value using the given formatter.

impl From<u32> for Ipv4Address
[src]

Performs the conversion.

impl<'a> From<&'a u32> for Ipv4Address
[src]

Performs the conversion.

impl From<Ipv4Mask> for Ipv4Address
[src]

Performs the conversion.

impl<'a> From<&'a Ipv4Mask> for Ipv4Address
[src]

Performs the conversion.

impl From<Ipv4Address> for u32
[src]

Performs the conversion.

impl<'a> From<&'a Ipv4Address> for u32
[src]

Performs the conversion.

impl FromStr for Ipv4Address
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl TryFrom<Ipv4Address> for Ipv4Mask
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> TryFrom<&'a Ipv4Address> for Ipv4Mask
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl BitAnd<Ipv4Mask> for Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a> BitAnd<Ipv4Mask> for &'a Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a> BitAnd<&'a Ipv4Mask> for Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a, 'b> BitAnd<&'a Ipv4Mask> for &'b Ipv4Address
[src]

The resulting type after applying the & operator.

Performs the & operation.

Auto Trait Implementations

impl Send for Ipv4Address

impl Sync for Ipv4Address