murgamu 0.7.3

Murgamü is an NestJS-inspired web framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug, Clone)]
pub enum MurSseSendError {
	Closed,
	Full,
	SerializeError,
}

impl std::fmt::Display for MurSseSendError {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		match self {
			Self::Closed => write!(f, "SSE channel closed"),
			Self::Full => write!(f, "SSE channel buffer full"),
			Self::SerializeError => write!(f, "Failed to serialize SSE data"),
		}
	}
}
impl std::error::Error for MurSseSendError {}