Addr

Trait Addr 

Source
pub trait Addr {
    // Required methods
    fn workchain(&self) -> i32;
    fn prefix(&self) -> u64;
}
Expand description

Basic internal address trait.

Required Methods§

Source

fn workchain(&self) -> i32

Returns the workchain part of the address.

Source

fn prefix(&self) -> u64

Returns the high bits of the address as a number.

Implementors§