pub struct GlobalImmunityMesh { /* private fields */ }Expand description
The Global Immunity Mesh - combines all components
This is THE ATMOSPHERE - everywhere, invisible, unyielding.
Implementations§
Source§impl GlobalImmunityMesh
impl GlobalImmunityMesh
Sourcepub fn new(
architect_pubkey: Vec<u8>,
council_quorum: usize,
) -> Result<Self, CryptoError>
pub fn new( architect_pubkey: Vec<u8>, council_quorum: usize, ) -> Result<Self, CryptoError>
Create new global immunity mesh
Sourcepub fn initialize_genesis(&self, genesis: GenesisBlock)
pub fn initialize_genesis(&self, genesis: GenesisBlock)
Initialize with Genesis Block
Sourcepub fn broadcast_threat(&self, pattern: &AttackPattern)
pub fn broadcast_threat(&self, pattern: &AttackPattern)
Broadcast a threat to the global mesh
Sourcepub fn broadcast_filter(&self, filter: SignedFilter)
pub fn broadcast_filter(&self, filter: SignedFilter)
Broadcast a filter to the global mesh
Sourcepub fn process_incoming(&self) -> Vec<CompactedThreatFingerprint>
pub fn process_incoming(&self) -> Vec<CompactedThreatFingerprint>
Process incoming messages
Sourcepub fn sync(&self) -> Arc<SyncProtocol>
pub fn sync(&self) -> Arc<SyncProtocol>
Get sync protocol
Sourcepub fn apex(&self) -> Arc<ApexControl>
pub fn apex(&self) -> Arc<ApexControl>
Get apex control
Sourcepub fn stealth(&self) -> Arc<StealthIntegrity>
pub fn stealth(&self) -> Arc<StealthIntegrity>
Get stealth integrity
Auto Trait Implementations§
impl !Freeze for GlobalImmunityMesh
impl !RefUnwindSafe for GlobalImmunityMesh
impl Send for GlobalImmunityMesh
impl Sync for GlobalImmunityMesh
impl Unpin for GlobalImmunityMesh
impl !UnwindSafe for GlobalImmunityMesh
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