This commit is contained in:
2022-05-14 21:53:59 +02:00
parent c9313c1bce
commit 21c53c07ab
3 changed files with 74 additions and 2 deletions

View File

@ -1,3 +1,16 @@
fn main() {
println!("Hello, world!");
use std::fmt;
use std::error::Error;
use thiserror::Error;
struct Event {
event_id: u32
}
trait SystemObject {
fn get_object_id(&self) -> u32;
fn initialize(&mut self) -> Result<(), Box<dyn Error>>;
}
fn main() {
println!("Hello World");
}