pub enum ResponseRecord {
Start(ResponseHead),
SseData(Vec<u8>),
End,
}Expand description
One checked record. Finite body bytes remain in the opener until END.
Variants§
Start(ResponseHead)
The first checked record.
SseData(Vec<u8>)
One checked complete SSE block.
End
The checked terminal record. Transport EOF must still follow.
Trait Implementations§
Source§impl Debug for ResponseRecord
impl Debug for ResponseRecord
impl Eq for ResponseRecord
Source§impl PartialEq for ResponseRecord
impl PartialEq for ResponseRecord
impl StructuralPartialEq for ResponseRecord
Auto Trait Implementations§
impl Freeze for ResponseRecord
impl RefUnwindSafe for ResponseRecord
impl Send for ResponseRecord
impl Sync for ResponseRecord
impl Unpin for ResponseRecord
impl UnsafeUnpin for ResponseRecord
impl UnwindSafe for ResponseRecord
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