pub enum OutputEventGroup {
Start,
StartCollapsed,
End,
}
Expand description
Support for keeping an output log organized by grouping related messages.
Variants§
Start
Start a new group in expanded mode. Subsequent output events are members of the group and should be shown indented.
The output
attribute becomes the name of the group and is not indented.
StartCollapsed
Start a new group in collapsed mode. Subsequent output events are members of the group and should be shown indented (as soon as the group is expanded).
The output
attribute becomes the name of the group and is not indented.
End
End the current group and decrease the indentation of subsequent output events.
A non-empty output
attribute is shown as the unindented end of the group.
Trait Implementations§
Source§impl Clone for OutputEventGroup
impl Clone for OutputEventGroup
Source§fn clone(&self) -> OutputEventGroup
fn clone(&self) -> OutputEventGroup
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 OutputEventGroup
impl Debug for OutputEventGroup
Source§impl<'de> Deserialize<'de> for OutputEventGroup
impl<'de> Deserialize<'de> for OutputEventGroup
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 Hash for OutputEventGroup
impl Hash for OutputEventGroup
Source§impl PartialEq for OutputEventGroup
impl PartialEq for OutputEventGroup
Source§impl Serialize for OutputEventGroup
impl Serialize for OutputEventGroup
impl Copy for OutputEventGroup
impl Eq for OutputEventGroup
impl StructuralPartialEq for OutputEventGroup
Auto Trait Implementations§
impl Freeze for OutputEventGroup
impl RefUnwindSafe for OutputEventGroup
impl Send for OutputEventGroup
impl Sync for OutputEventGroup
impl Unpin for OutputEventGroup
impl UnwindSafe for OutputEventGroup
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