Enum headless_lms_server::controllers::main_frontend::playground_views::PlaygroundViewsMessage
source · pub enum PlaygroundViewsMessage {
TimedOut,
Registered(Uuid),
ExerciseTaskGradingResult(ExerciseTaskGradingResult),
}
Expand description
The message type for all messages sent from the server to the client from the playgrounds-views websocket connection.
Variants§
TimedOut
Server did not receive a pong for a certain period so the connection timed out.
Registered(Uuid)
Server accepted a new websocket connection and is informing the new client of their connection id.
ExerciseTaskGradingResult(ExerciseTaskGradingResult)
Server received an updated grading from an exercise service and is passing it on to the client.
Trait Implementations§
source§impl Debug for PlaygroundViewsMessage
impl Debug for PlaygroundViewsMessage
source§impl Message for PlaygroundViewsMessage
impl Message for PlaygroundViewsMessage
Auto Trait Implementations§
impl RefUnwindSafe for PlaygroundViewsMessage
impl Send for PlaygroundViewsMessage
impl Sync for PlaygroundViewsMessage
impl Unpin for PlaygroundViewsMessage
impl UnwindSafe for PlaygroundViewsMessage
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