Enum dlt_core::parse::ParsedMessage
source · pub enum ParsedMessage {
Item(Message),
FilteredOut(usize),
Invalid,
}
Expand description
Used when producing messages in a stream, indicates if messages where filtered or could not be parsed
Variants§
Item(Message)
Regular message, could be parsed
FilteredOut(usize)
message was filtered out due to filter conditions (Log-Level etc.)
Invalid
Parsed message was invalid, no parse possible
Trait Implementations§
source§impl Debug for ParsedMessage
impl Debug for ParsedMessage
source§impl PartialEq<ParsedMessage> for ParsedMessage
impl PartialEq<ParsedMessage> for ParsedMessage
source§fn eq(&self, other: &ParsedMessage) -> bool
fn eq(&self, other: &ParsedMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParsedMessage
Auto Trait Implementations§
impl RefUnwindSafe for ParsedMessage
impl Send for ParsedMessage
impl Sync for ParsedMessage
impl Unpin for ParsedMessage
impl UnwindSafe for ParsedMessage
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