pub enum FrameCategory {
User,
Library,
Core,
Eval,
Unknown,
}Expand description
Categories for stack frame classification.
Variants§
User
User code (the developer’s own code)
Library
Library code (third-party modules)
Core
Core Perl code (built-in modules and internals)
Eval
Eval-generated code
Unknown
Unknown origin
Implementations§
Source§impl FrameCategory
impl FrameCategory
Sourcepub fn presentation_hint(&self) -> StackFramePresentationHint
pub fn presentation_hint(&self) -> StackFramePresentationHint
Returns the appropriate presentation hint for this category.
Sourcepub fn is_user_code(&self) -> bool
pub fn is_user_code(&self) -> bool
Returns true if this category represents user-written code.
Sourcepub fn is_external(&self) -> bool
pub fn is_external(&self) -> bool
Returns true if this category represents external code.
Trait Implementations§
Source§impl Clone for FrameCategory
impl Clone for FrameCategory
Source§fn clone(&self) -> FrameCategory
fn clone(&self) -> FrameCategory
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 FrameCategory
impl Debug for FrameCategory
Source§impl PartialEq for FrameCategory
impl PartialEq for FrameCategory
impl Copy for FrameCategory
impl Eq for FrameCategory
impl StructuralPartialEq for FrameCategory
Auto Trait Implementations§
impl Freeze for FrameCategory
impl RefUnwindSafe for FrameCategory
impl Send for FrameCategory
impl Sync for FrameCategory
impl Unpin for FrameCategory
impl UnsafeUnpin for FrameCategory
impl UnwindSafe for FrameCategory
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