pub(crate) enum LineOutcome {
Continue,
Skipped,
Stop,
}Expand description
What handle_line decided about one decoded line.
Variants§
Continue
Handled normally; keep reading.
Skipped
The line was unparsable and was skipped; keep reading.
Stop
The events channel closed; the read loop should exit.
Trait Implementations§
Source§impl Debug for LineOutcome
impl Debug for LineOutcome
impl Eq for LineOutcome
Source§impl PartialEq for LineOutcome
impl PartialEq for LineOutcome
impl StructuralPartialEq for LineOutcome
Auto Trait Implementations§
impl Freeze for LineOutcome
impl RefUnwindSafe for LineOutcome
impl Send for LineOutcome
impl Sync for LineOutcome
impl Unpin for LineOutcome
impl UnsafeUnpin for LineOutcome
impl UnwindSafe for LineOutcome
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.