pub struct AppState {Show 15 fields
pub config: Mutex<AgentConfig>,
pub tax_suite: Mutex<TaxRecipientSuite>,
pub daemon_running: Arc<Mutex<bool>>,
pub nym_relay_active: Arc<AtomicBool>,
pub stark_prover_active: Arc<AtomicBool>,
pub simulated_solar_watts: Arc<AtomicU32>,
pub download_handles: Arc<Mutex<HashMap<String, Arc<AtomicBool>>>>,
pub active_downloads: Arc<Mutex<HashMap<String, ProgressPayload>>>,
pub active_model: Arc<Mutex<Option<String>>>,
pub directory_actors: Arc<Mutex<Vec<Actor>>>,
pub delegation_rules: Arc<Mutex<Vec<DelegationRule>>>,
pub front_doors: Arc<Mutex<Vec<FrontDoor>>>,
pub installed_qapps: Arc<Mutex<Vec<RegisteredQapp>>>,
pub key_vault: Arc<Mutex<KeyVault>>,
pub download_events: Sender<ProgressPayload>,
}Fields§
§config: Mutex<AgentConfig>§tax_suite: Mutex<TaxRecipientSuite>§daemon_running: Arc<Mutex<bool>>§nym_relay_active: Arc<AtomicBool>§stark_prover_active: Arc<AtomicBool>§simulated_solar_watts: Arc<AtomicU32>§download_handles: Arc<Mutex<HashMap<String, Arc<AtomicBool>>>>§active_downloads: Arc<Mutex<HashMap<String, ProgressPayload>>>§active_model: Arc<Mutex<Option<String>>>§directory_actors: Arc<Mutex<Vec<Actor>>>§delegation_rules: Arc<Mutex<Vec<DelegationRule>>>§front_doors: Arc<Mutex<Vec<FrontDoor>>>§installed_qapps: Arc<Mutex<Vec<RegisteredQapp>>>§key_vault: Arc<Mutex<KeyVault>>§download_events: Sender<ProgressPayload>Auto Trait Implementations§
impl !Freeze for AppState
impl !RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnsafeUnpin for AppState
impl !UnwindSafe for AppState
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.
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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