[][src]Enum sentry_types::protocol::v7::IpAddress

pub enum IpAddress {
    Auto,
    Exact(IpAddr),
}

An IP address, either IPv4, IPv6 or Auto.

Variants

Auto

The IP address needs to be infered from the user's context.

Exact(IpAddr)

The exact given IP address (v4 or v6).

Trait Implementations

impl Clone for IpAddress[src]

impl Copy for IpAddress[src]

impl Debug for IpAddress[src]

impl Default for IpAddress[src]

impl<'de> Deserialize<'de> for IpAddress[src]

impl Display for IpAddress[src]

impl Eq for IpAddress[src]

impl From<IpAddr> for IpAddress[src]

impl FromStr for IpAddress[src]

type Err = AddrParseError

The associated error which can be returned from parsing.

impl Hash for IpAddress[src]

impl Ord for IpAddress[src]

impl PartialEq<IpAddr> for IpAddress[src]

impl PartialEq<IpAddress> for IpAddress[src]

impl PartialOrd<IpAddr> for IpAddress[src]

impl PartialOrd<IpAddress> for IpAddress[src]

impl Serialize for IpAddress[src]

impl StructuralEq for IpAddress[src]

impl StructuralPartialEq for IpAddress[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,