Enum error_stack::FrameKind
source · pub enum FrameKind<'f> {
Context(&'f dyn Context),
Attachment(AttachmentKind<'f>),
}
Expand description
Classification of the contents of a Frame
, determined by how it was created.
Variants§
Context(&'f dyn Context)
Frame was created through Report::new()
or change_context()
.
Attachment(AttachmentKind<'f>)
Frame was created through attach()
or attach_printable()
.