[−][src]Struct oasis_std::Address
A 160-bit little-endian hash address type.
Methods
impl Address
[src]
pub unsafe fn from_raw(bytes: *const u8) -> Address
[src]
Creates an Address
from a little-endian byte array.
pub fn as_ptr(&self) -> *const u8
[src]
pub const fn size() -> usize
[src]
pub fn path_repr(&self) -> String
[src]
Trait Implementations
impl AsRef<[u8]> for Address
[src]
impl Debug for Address
[src]
impl Eq for Address
[src]
impl Ord for Address
[src]
fn cmp(&self, other: &Address) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialOrd<Address> for Address
[src]
fn partial_cmp(&self, other: &Address) -> Option<Ordering>
[src]
fn lt(&self, other: &Address) -> bool
[src]
fn le(&self, other: &Address) -> bool
[src]
fn gt(&self, other: &Address) -> bool
[src]
fn ge(&self, other: &Address) -> bool
[src]
impl Hash for Address
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Serialize for Address
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl<'de> Deserialize<'de> for Address
[src]
fn deserialize<D>(
deserializer: D
) -> Result<Address, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<Address, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Display for Address
[src]
impl Clone for Address
[src]
impl Default for Address
[src]
impl Copy for Address
[src]
impl FromStr for Address
[src]
type Err = FromHexError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Address, <Address as FromStr>::Err>
[src]
impl PartialEq<Address> for Address
[src]
impl AddressExt for Address
[src]
Auto Trait Implementations
impl Unpin for Address
impl Sync for Address
impl Send for Address
impl UnwindSafe for Address
impl RefUnwindSafe for Address
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,