pub enum ValidationReason {
BlankLine,
CommentLine,
HeredocInterior,
PodLine,
LineOutOfRange,
ParseError,
InvalidCondition,
}Expand description
Reason why a breakpoint was rejected or adjusted
Variants§
BlankLine
The line is blank (whitespace only)
CommentLine
The line contains only comments
HeredocInterior
The breakpoint is inside heredoc content
PodLine
The line is inside a POD documentation section
LineOutOfRange
The line number exceeds the file length
ParseError
Unable to parse the source file
InvalidCondition
A conditional breakpoint expression is invalid
Trait Implementations§
Source§impl Clone for ValidationReason
impl Clone for ValidationReason
Source§fn clone(&self) -> ValidationReason
fn clone(&self) -> ValidationReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValidationReason
Source§impl Debug for ValidationReason
impl Debug for ValidationReason
Source§impl Display for ValidationReason
impl Display for ValidationReason
impl Eq for ValidationReason
Source§impl PartialEq for ValidationReason
impl PartialEq for ValidationReason
Source§fn eq(&self, other: &ValidationReason) -> bool
fn eq(&self, other: &ValidationReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValidationReason
Auto Trait Implementations§
impl Freeze for ValidationReason
impl RefUnwindSafe for ValidationReason
impl Send for ValidationReason
impl Sync for ValidationReason
impl Unpin for ValidationReason
impl UnsafeUnpin for ValidationReason
impl UnwindSafe for ValidationReason
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.