pub struct BootScreen;
Expand description
A struct representing the boot screen of the system.
Implementations§
Source§impl BootScreen
impl BootScreen
Sourcepub fn show()
pub fn show()
Displays the boot screen, which includes an ASCII logo and system information.
This function clears the screen and prints:
- An ASCII logo from settings.
- The current version of the system.
- Developer information.
Sourcepub fn log(status: LogType, message: &str)
pub fn log(status: LogType, message: &str)
Logs a message with a specific status indicator (e.g., success, info, warning).
§Arguments
status
- The status of the log message, indicating its type (e.g., info, success, etc.).message
- The message to log.
This function prints the message prefixed with a symbol representing its status:
*
forInfo
+
forSuccess
x
forFailed
!
forWarning