Enum sentry_types::protocol::v7::IpAddress [−][src]
pub enum IpAddress { Auto, Exact(IpAddr), }
Expand description
An IP address, either IPv4, IPv6 or Auto.
Variants
The IP address needs to be infered from the user’s context.
Exact(IpAddr)
The exact given IP address (v4 or v6).
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
type Err = AddrParseError
type Err = AddrParseError
The associated error which can be returned from parsing.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for IpAddress
impl UnwindSafe for IpAddress
Blanket Implementations
Mutably borrows from an owned value. Read more