Struct actix_tools::sentry::sentry_client::protocol::Addr [−]
pub struct Addr(pub u64);
Represents an address.
Methods
impl Addr
impl AddrTrait Implementations
impl Into<u64> for Addr
impl Into<u64> for Addrimpl Serialize for Addr
impl Serialize for Addrfn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, Serialize this value into the given Serde serializer. Read more
impl PartialOrd<Addr> for Addr
impl PartialOrd<Addr> for Addrfn partial_cmp(&self, other: &Addr) -> Option<Ordering>
fn partial_cmp(&self, other: &Addr) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Addr) -> bool
fn lt(&self, other: &Addr) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Addr) -> bool
fn le(&self, other: &Addr) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Addr) -> bool
fn gt(&self, other: &Addr) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Addr) -> bool
fn ge(&self, other: &Addr) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Hash for Addr
impl Hash for Addrfn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for Addr
impl Clone for Addrfn clone(&self) -> Addr
fn clone(&self) -> AddrReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Display for Addr
impl Display for Addrfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Default for Addr
impl Default for Addrimpl FromStr for Addr
impl FromStr for Addrtype Err = ParseIntError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Addr, ParseIntError>
fn from_str(s: &str) -> Result<Addr, ParseIntError>Parses a string s to return a value of this type. Read more
impl Debug for Addr
impl Debug for Addrfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for Addr
impl<'de> Deserialize<'de> for Addrfn deserialize<D>(
deserializer: D
) -> Result<Addr, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Addr, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Copy for Addr
impl Copy for Addrimpl Ord for Addr
impl Ord for Addrfn cmp(&self, other: &Addr) -> Ordering
fn cmp(&self, other: &Addr) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Eq for Addr
impl Eq for Addrimpl PartialEq<Addr> for Addr
impl PartialEq<Addr> for Addrfn eq(&self, other: &Addr) -> bool
fn eq(&self, other: &Addr) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Addr) -> bool
fn ne(&self, other: &Addr) -> boolThis method tests for !=.
impl<T> From<*const T> for Addr
impl<T> From<*const T> for Addrimpl From<u64> for Addr
impl From<u64> for Addrimpl<T> From<*mut T> for Addr
impl<T> From<*mut T> for Addrimpl From<usize> for Addr
impl From<usize> for Addrimpl From<i32> for Addr
impl From<i32> for Addrimpl From<u32> for Addr
impl From<u32> for Addr