pub enum BoardEvent {
OnReady,
OnClose,
}Expand description
Lists all events a Board can emit/listen.
Variants§
OnReady
Triggered when the board connexion is established and the handshake has been made.
OnClose
Triggered when the board connexion is closed (gracefully).
Trait Implementations§
Source§impl From<BoardEvent> for String
Convert events to string to facilitate usage with EventManager.
impl From<BoardEvent> for String
Convert events to string to facilitate usage with EventManager.
Source§fn from(value: BoardEvent) -> Self
fn from(value: BoardEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoardEvent
impl RefUnwindSafe for BoardEvent
impl Send for BoardEvent
impl Sync for BoardEvent
impl Unpin for BoardEvent
impl UnsafeUnpin for BoardEvent
impl UnwindSafe for BoardEvent
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