pub enum FormFieldError {
NoActivePage,
DuplicateName(String),
}Expand description
Errors that can occur when adding form fields to a document.
Variants§
NoActivePage
add_text_field was called without an active page.
DuplicateName(String)
A field with the given name already exists in this document.
Trait Implementations§
Source§impl Debug for FormFieldError
impl Debug for FormFieldError
Source§impl Display for FormFieldError
impl Display for FormFieldError
Source§impl Error for FormFieldError
impl Error for FormFieldError
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()
Auto Trait Implementations§
impl Freeze for FormFieldError
impl RefUnwindSafe for FormFieldError
impl Send for FormFieldError
impl Sync for FormFieldError
impl Unpin for FormFieldError
impl UnsafeUnpin for FormFieldError
impl UnwindSafe for FormFieldError
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