pub enum CoreEvent {
Show 21 variants
Info(String),
Success(String),
Warning(String),
Error(String),
Installed {
slug: String,
title: String,
},
AddedAsDependency {
slug: String,
},
AlreadyInstalled {
slug: String,
},
LinkedFile {
filename: String,
},
Purged {
slug: String,
},
ChatModeStarted {
sender: String,
},
ChatModeStopped,
ChatMessageSent {
sender: String,
message: String,
},
ChatPromptRequested {
sender: String,
},
ServerLogEvent {
level: LogLevel,
message: String,
timestamp: String,
},
ServerStopEvent(String),
WorldPreparationStarted,
WorldPreparationProgress {
percentage: u8,
},
WorldPreparationFinished,
StartingServer,
TaskStarted(String),
TaskFinished,
}Variants§
Info(String)
Success(String)
Warning(String)
Error(String)
Installed
AddedAsDependency
AlreadyInstalled
LinkedFile
Purged
ChatModeStarted
ChatModeStopped
ChatMessageSent
ChatPromptRequested
ServerLogEvent
ServerStopEvent(String)
WorldPreparationStarted
WorldPreparationProgress
WorldPreparationFinished
StartingServer
TaskStarted(String)
TaskFinished
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoreEvent
impl RefUnwindSafe for CoreEvent
impl Send for CoreEvent
impl Sync for CoreEvent
impl Unpin for CoreEvent
impl UnsafeUnpin for CoreEvent
impl UnwindSafe for CoreEvent
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