Macro rocket::response::stream::EventStream

source ยท
pub macro EventStream {
    () => { ... },
    ($($s:tt)*) => { ... },
}
Expand description

Type and stream expression macro for EventStream.

See stream! for the syntax supported by this macro. In addition to that syntax, this macro can also be called with no arguments, EventStream![], as shorthand for EventStream![Event].

See EventStream and the module level docs for usage details.