pub enum SseField {
Data,
Event,
Id,
Blank,
Other,
}Expand description
A field recognized by the SSE grammar.
Variants§
Data
A payload line.
Event
An event type.
Id
An accepted event id.
Blank
A blank dispatch line.
Other
A comment, retry, ignored id or unknown field.
Trait Implementations§
impl Copy for SseField
impl Eq for SseField
impl StructuralPartialEq for SseField
Auto Trait Implementations§
impl Freeze for SseField
impl RefUnwindSafe for SseField
impl Send for SseField
impl Sync for SseField
impl Unpin for SseField
impl UnsafeUnpin for SseField
impl UnwindSafe for SseField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more