pub enum ReportFieldError {
Empty,
InvalidPageSuffix,
InvalidPanelSuffix,
CommentsTooLong,
LabelTooLong,
}Expand description
Error when a report identity or path field is invalid.
Variants§
Empty
Value is empty.
InvalidPageSuffix
ReportPagePath does not end with .html or .xhtml.
InvalidPanelSuffix
ManifestPanelPath does not end with .xhtml.
CommentsTooLong
ReviewComments exceeds MAX_REVIEW_COMMENTS_CHARS.
LabelTooLong
PanelLabel exceeds MAX_PANEL_LABEL_CHARS.
Trait Implementations§
Source§impl Clone for ReportFieldError
impl Clone for ReportFieldError
Source§fn clone(&self) -> ReportFieldError
fn clone(&self) -> ReportFieldError
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 ReportFieldError
Source§impl Debug for ReportFieldError
impl Debug for ReportFieldError
Source§impl Display for ReportFieldError
impl Display for ReportFieldError
impl Eq for ReportFieldError
Source§impl Error for ReportFieldError
impl Error for ReportFieldError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ReportFieldError
impl PartialEq for ReportFieldError
impl StructuralPartialEq for ReportFieldError
Auto Trait Implementations§
impl Freeze for ReportFieldError
impl RefUnwindSafe for ReportFieldError
impl Send for ReportFieldError
impl Sync for ReportFieldError
impl Unpin for ReportFieldError
impl UnsafeUnpin for ReportFieldError
impl UnwindSafe for ReportFieldError
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