pub enum ParseResult {
Next,
Dispatch,
SetRetry(Duration),
}Expand description
Possible results from parsing a single event-stream line.
Variants§
Next
Line parsed successfully, but the event is not complete yet.
Dispatch
The event is complete now. Pass a new (empty) event for the next call.
SetRetry(Duration)
Set retry time.
Trait Implementations§
Source§impl Debug for ParseResult
impl Debug for ParseResult
Source§impl PartialEq for ParseResult
impl PartialEq for ParseResult
impl StructuralPartialEq for ParseResult
Auto Trait Implementations§
impl Freeze for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnwindSafe for ParseResult
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