Skip to main content

AddressExt

Trait AddressExt 

Source
pub trait AddressExt {
    // Required methods
    fn zero(env: &Env) -> Address;
    fn to_string_bytes(&self) -> Bytes;
    fn to_raw_bytes(&self) -> [u8; 56];
}

Required Methods§

Source

fn zero(env: &Env) -> Address

Source

fn to_string_bytes(&self) -> Bytes

Source

fn to_raw_bytes(&self) -> [u8; 56]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§