chore: add #[non_exhaustive] to remaining public structs (#768)
* chore: add #[non_exhaustive] to remaining public structs * chore: add #[non_exhaustive] to remaining public types * chore: enable exhaustive_structs/enums clippy lints * test: add untagged ServerResult deserialization regression tests
This commit is contained in:
parent
ee1c63c53f
commit
6a3b32d3ab
1 changed files with 430 additions and 211 deletions
|
|
@ -58,6 +58,7 @@ impl sse_stream::Timer for TokioTimer {
|
|||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[non_exhaustive]
|
||||
pub struct ServerSseMessage {
|
||||
/// The event ID for this message. When set, clients can use this ID
|
||||
/// with the `Last-Event-ID` header to resume the stream from this point.
|
||||
|
|
|
|||
Loading…
Reference in a new issue