Skip to main content

Module profile

Module profile 

Source

Re-exports§

pub use crate::db::ProfileSummary;

Structs§

ActiveProfileInfo
Information about the currently active profile.
EnabledMod
A mod entry within a profile.
ForkOptions
Options for ProfileManager::fork_with_options.
LoadOrderLock
A profile-level load order lock.
Profile
A modding profile containing an ordered list of mods.
ProfileManager
SQLite-backed profile manager.

Enums§

ActivateResult
Result of activating a profile.
LockReason
Why a profile’s load order (or an individual mod) is locked.
ProfileSource
Source from which a profile was created.
ReorderDirection
Direction for try_reorder. Mirrors the UI message variant.
ReorderError
Why try_reorder refused to move a mod. Callers render these into status messages / CLI errors as they see fit — the enum carries enough structure to explain why without string-matching.

Functions§

try_reorder
Attempt to move mod_id one step direction within profile.mods.
validate_profile_name
Validate that a profile name is safe for use as a filesystem directory and is not empty or excessively long.