pub struct SseLine {
pub span: Range<usize>,
pub content: Range<usize>,
pub value: Option<Range<usize>>,
pub field: SseField,
}Expand description
Original byte ranges of one line consumed by SseFramer.
Fields§
§span: Range<usize>Whole line, including its line ending, at saturating stream offsets.
content: Range<usize>Line content without its ending or an initial BOM.
value: Option<Range<usize>>Field value after a colon and optional space, when present.
field: SseFieldThe field accepted by the grammar.
Trait Implementations§
impl Eq for SseLine
impl StructuralPartialEq for SseLine
Auto Trait Implementations§
impl Freeze for SseLine
impl RefUnwindSafe for SseLine
impl Send for SseLine
impl Sync for SseLine
impl Unpin for SseLine
impl UnsafeUnpin for SseLine
impl UnwindSafe for SseLine
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