leptos_ws 0.7.0-beta2

Leptos WS is a Websocket for the Leptos framework to support updates coordinated from the Server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("No ServerSignals in State")]
    MissingServerSignals,
    #[error("Could not add ServerSignal to ServerSignals")]
    AddingSignalFailed,
    #[error("Could not update Signal")]
    UpdateSignalFailed,

    #[error(transparent)]
    SerializationFailed(#[from] serde_json::Error),
}