pub struct DaemonOrchestrator {
pub active_cells: Arc<Mutex<Vec<WorkerCell>>>,
pub isolate_a_tx: Option<Sender<NQuin>>,
pub isolate_b_rx: Option<Receiver<NQuin>>,
pub dnssec_trusted_anchors: HashMap<String, [u8; 32]>,
pub wireguard_interface_name: String,
pub wireguard_local_port: u16,
}Expand description
Primary Orchestrator tracking Fractal Shards
Fields§
§active_cells: Arc<Mutex<Vec<WorkerCell>>>§isolate_a_tx: Option<Sender<NQuin>>§isolate_b_rx: Option<Receiver<NQuin>>§dnssec_trusted_anchors: HashMap<String, [u8; 32]>§wireguard_interface_name: String§wireguard_local_port: u16Implementations§
Source§impl DaemonOrchestrator
impl DaemonOrchestrator
pub fn new() -> Self
Sourcepub fn configure_dnssec_anchors(&mut self, anchors: HashMap<String, [u8; 32]>)
pub fn configure_dnssec_anchors(&mut self, anchors: HashMap<String, [u8; 32]>)
Configure DNSSEC trusted anchors
Sourcepub fn configure_wireguard(&mut self, interface_name: String, local_port: u16)
pub fn configure_wireguard(&mut self, interface_name: String, local_port: u16)
Configure WireGuard interface settings
Sourcepub fn init_worker_cells_infrastructure(&self)
pub fn init_worker_cells_infrastructure(&self)
Initialize all worker cells with DNSSEC and WireGuard capabilities
Sourcepub fn bootstrap_peer_connection(
&self,
cell_id: usize,
domain: &str,
endpoint_ip: IpAddr,
endpoint_port: u16,
) -> Result<u64, &'static str>
pub fn bootstrap_peer_connection( &self, cell_id: usize, domain: &str, endpoint_ip: IpAddr, endpoint_port: u16, ) -> Result<u64, &'static str>
Bootstrap a SocialWebNet peer connection for a specific worker cell.
Resolves the peer via DNSSEC, verifies routing constraints, then registers the WireGuard peer inside the named worker cell.
pub fn spawn_fractal_shard(&self, cell_id: usize)
pub fn delegate_dense_algebra(&self, cell_id: usize)
Bootstrap SocialWebNet tunnel using DNSSEC CBOR-LD resolution
Sourcepub fn spawn_neuro_symbolic_isolates(&mut self)
pub fn spawn_neuro_symbolic_isolates(&mut self)
Spawns the Cellular Isolate Model (Isolate A and Isolate B) for Neuro-Symbolic integration.
Sourcepub fn create_wireguard_interface(&self) -> Result<(), &'static str>
pub fn create_wireguard_interface(&self) -> Result<(), &'static str>
Create WireGuard interface
Auto Trait Implementations§
impl Freeze for DaemonOrchestrator
impl RefUnwindSafe for DaemonOrchestrator
impl Send for DaemonOrchestrator
impl Sync for DaemonOrchestrator
impl Unpin for DaemonOrchestrator
impl UnsafeUnpin for DaemonOrchestrator
impl UnwindSafe for DaemonOrchestrator
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more