axum-cometd 0.1.0

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

pub type CometdResult<T> = Result<T, CometdError>;

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