axum-cometd 0.2.0

Framework for CometD server creation
Documentation
1
2
3
4
5
6
7
8
9
use crate::ClientId;

pub(crate) type CometdResult<T> = Result<T, CometdError>;

#[derive(Debug, thiserror::Error)]
pub(crate) enum CometdError {
    #[error("Client with id {0} doesn't exist.")]
    ClientDoesntExist(ClientId),
}