pub enum ReloadEvent {
Reload,
Error(String),
}Expand description
A live-reload event. Keep this enum stable; both the wire format and the broadcast subscribers depend on it.
Variants§
Reload
Successful rebuild — clients should reload.
Error(String)
Build failed — clients log the message but do not reload.
Trait Implementations§
Source§impl Clone for ReloadEvent
impl Clone for ReloadEvent
Auto Trait Implementations§
impl Freeze for ReloadEvent
impl RefUnwindSafe for ReloadEvent
impl Send for ReloadEvent
impl Sync for ReloadEvent
impl Unpin for ReloadEvent
impl UnsafeUnpin for ReloadEvent
impl UnwindSafe for ReloadEvent
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