pub enum FieldError {
Inspect(InspectError),
Layout(ConvertError),
Package(String),
}Expand description
Why update_fields failed.
Variants§
Inspect(InspectError)
The package could not be opened or read (InspectError).
Layout(ConvertError)
The layout pass that pages the document failed.
Package(String)
The package could not be serialized back to bytes.
Trait Implementations§
Source§impl Debug for FieldError
impl Debug for FieldError
Source§impl Display for FieldError
impl Display for FieldError
Source§impl Error for FieldError
impl Error for FieldError
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 From<InspectError> for FieldError
impl From<InspectError> for FieldError
Source§fn from(err: InspectError) -> FieldError
fn from(err: InspectError) -> FieldError
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for FieldError
impl Freeze for FieldError
impl Move for FieldError
impl RefUnwindSafe for FieldError
impl Send for FieldError
impl Sync for FieldError
impl Unpin for FieldError
impl UnsafeUnpin for FieldError
impl UnwindSafe for FieldError
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