Struct Ipv4Addr

struct Ipv4Addr(_)

no_std implementation of std::net::Ipv4Addr.

Note: because we intend to replace this type with core::net::Ipv4Addr as soon as it is stabilized, the identity of this type should not be considered semver-stable. However, the attached interfaces are stable; they form a subset of those provided by core::net::Ipv4Addr.

Implementations

impl AsRef for Ipv4Addr

fn as_ref(self: &Self) -> &[u8; 4]

impl Clone for Ipv4Addr

fn clone(self: &Self) -> Ipv4Addr

impl Copy for Ipv4Addr

impl Debug for Ipv4Addr

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for Ipv4Addr

impl Freeze for Ipv4Addr

impl From for Ipv4Addr

fn from(addr: Ipv4Addr) -> Self

impl Hash for Ipv4Addr

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl PartialEq for Ipv4Addr

fn eq(self: &Self, other: &Ipv4Addr) -> bool

impl RefUnwindSafe for Ipv4Addr

impl Send for Ipv4Addr

impl StructuralPartialEq for Ipv4Addr

impl Sync for Ipv4Addr

impl TryFrom for Ipv4Addr

fn try_from(value: &str) -> Result<Self, <Self as >::Error>

impl Unpin for Ipv4Addr

impl UnwindSafe for Ipv4Addr

impl<T> Any for Ipv4Addr

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Ipv4Addr

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Ipv4Addr

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Ipv4Addr

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Ipv4Addr

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Ipv4Addr

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Ipv4Addr

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Ipv4Addr

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Ipv4Addr

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>