forked from LowLevelDevs/FoundryOS
11 lines
180 B
Rust
11 lines
180 B
Rust
|
|
pub trait Application {
|
|
fn run(&mut self, args: [&'static str; 5]) -> Result<(), Error>;
|
|
}
|
|
|
|
pub enum Error {
|
|
OsError(&'static str),
|
|
ApplicationError(&'static str),
|
|
}
|
|
|