pub struct IdFull(/* private fields */);Expand description
Full overlay id
Implementations§
Source§impl IdFull
impl IdFull
Sourcepub fn for_catchain_overlay<'tl, I>(
unique_hash: &'tl [u8; 32],
nodes: I,
) -> Self
pub fn for_catchain_overlay<'tl, I>( unique_hash: &'tl [u8; 32], nodes: I, ) -> Self
Constructs full overlay id for the catchain overlay
Sourcepub fn for_workchain_overlay(
workchain: i32,
zero_state_file_hash: &[u8; 32],
) -> Self
pub fn for_workchain_overlay( workchain: i32, zero_state_file_hash: &[u8; 32], ) -> Self
Constructs full overlay id for the workchain overlay
Sourcepub fn compute_short_id(&self) -> IdShort
pub fn compute_short_id(&self) -> IdShort
Hashes inner public key
Trait Implementations§
impl Copy for IdFull
impl Eq for IdFull
impl StructuralPartialEq for IdFull
Auto Trait Implementations§
impl Freeze for IdFull
impl RefUnwindSafe for IdFull
impl Send for IdFull
impl Sync for IdFull
impl Unpin for IdFull
impl UnwindSafe for IdFull
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more