Struct everscale_network::overlay::IdFull
source · pub struct IdFull(_);Expand description
Full overlay id.
Implementations
sourceimpl IdFull
impl IdFull
pub fn for_catchain_overlay<'tl, I>(unique_hash: &'tl [u8; 32], nodes: I) -> Selfwhere
I: Iterator<Item = &'tl [u8; 32]> + ExactSizeIterator + Clone,
pub fn for_workchain_overlay(
workchain: i32,
zero_state_file_hash: &[u8; 32]
) -> Self
pub fn as_slice(&self) -> &[u8; 32]
pub fn compute_short_id(&self) -> IdShort
Trait Implementations
impl Copy for IdFull
impl Eq for IdFull
impl StructuralEq for IdFull
impl StructuralPartialEq for IdFull
Auto Trait Implementations
impl RefUnwindSafe for IdFull
impl Send for IdFull
impl Sync for IdFull
impl Unpin for IdFull
impl UnwindSafe for IdFull
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more