pub struct Runtime {
pub legacy_root: PathBuf,
pub storage: Arc<Storage>,
pub credentials: Arc<OsCredentialStore>,
pub client: Client,
pub widgets_root: PathBuf,
pub catalogue: Mutex<Option<Catalogue>>,
pub catalogue_error: Mutex<Option<String>>,
pub processes: Arc<Mutex<WidgetProcessManager>>,
pub widget_sessions: Mutex<WidgetSessions>,
pub multi_instance_helper: Option<PathBuf>,
pub cleared_roblox_pids: Mutex<HashSet<u32>>,
pub safe_mode: bool,
}Expand description
Shared state for commands, managed by Tauri.
Fields§
§legacy_root: PathBufFolder the legacy Flet app stored its data in.
storage: Arc<Storage>§credentials: Arc<OsCredentialStore>§client: Client§widgets_root: PathBuf§catalogue: Mutex<Option<Catalogue>>The verified widget catalogue, once loaded.
catalogue_error: Mutex<Option<String>>Why the catalogue couldn’t be loaded, shown on the Widgets screen.
processes: Arc<Mutex<WidgetProcessManager>>§widget_sessions: Mutex<WidgetSessions>Active widget frame sessions.
multi_instance_helper: Option<PathBuf>Bundled helper that closes Roblox’s singleton handles, when installed.
cleared_roblox_pids: Mutex<HashSet<u32>>Roblox processes the helper already handled.
safe_mode: boolWidget modules and frames stay unloaded for this session.
Auto Trait Implementations§
impl !Freeze for Runtime
impl !RefUnwindSafe for Runtime
impl !UnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
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