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()
.
Auto Trait Implementations§
impl<'f> Freeze for FrameKind<'f>
impl<'f> !RefUnwindSafe for FrameKind<'f>
impl<'f> Send for FrameKind<'f>
impl<'f> Sync for FrameKind<'f>
impl<'f> Unpin for FrameKind<'f>
impl<'f> !UnwindSafe for FrameKind<'f>
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