pub enum LogCorrelationMessage {
Show 13 variants
AddStream(LogStream),
SetStreams(Vec<LogStream>),
PushEntry {
stream: usize,
entry: CorrelationEntry,
},
Clear,
ScrollUp,
ScrollDown,
ScrollToTop,
ScrollToBottom,
SetStreamFilter {
stream: usize,
filter: String,
},
SetStreamLevelFilter {
stream: usize,
level: Option<CorrelationLevel>,
},
FocusNextStream,
FocusPrevStream,
ToggleSyncScroll,
}Expand description
Messages that can be sent to a LogCorrelation component.
Variants§
AddStream(LogStream)
Add a new log stream.
SetStreams(Vec<LogStream>)
Replace all streams.
PushEntry
Push an entry to a specific stream.
Clear
Clear all streams.
ScrollUp
Scroll up by one row.
ScrollDown
Scroll down by one row.
ScrollToTop
Scroll to the first row.
ScrollToBottom
Scroll to the last row.
SetStreamFilter
Set the text filter for a specific stream.
SetStreamLevelFilter
Set the minimum severity level for a specific stream.
Fields
§
level: Option<CorrelationLevel>The minimum level (None means show all).
FocusNextStream
Focus the next stream.
FocusPrevStream
Focus the previous stream.
ToggleSyncScroll
Toggle synchronized scrolling.
Trait Implementations§
Source§impl Clone for LogCorrelationMessage
impl Clone for LogCorrelationMessage
Source§fn clone(&self) -> LogCorrelationMessage
fn clone(&self) -> LogCorrelationMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogCorrelationMessage
impl Debug for LogCorrelationMessage
Source§impl<'de> Deserialize<'de> for LogCorrelationMessage
impl<'de> Deserialize<'de> for LogCorrelationMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LogCorrelationMessage
impl PartialEq for LogCorrelationMessage
Source§impl Serialize for LogCorrelationMessage
impl Serialize for LogCorrelationMessage
impl StructuralPartialEq for LogCorrelationMessage
Auto Trait Implementations§
impl Freeze for LogCorrelationMessage
impl RefUnwindSafe for LogCorrelationMessage
impl Send for LogCorrelationMessage
impl Sync for LogCorrelationMessage
impl Unpin for LogCorrelationMessage
impl UnsafeUnpin for LogCorrelationMessage
impl UnwindSafe for LogCorrelationMessage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more