#[non_exhaustive]pub struct FfiErrorMessage {
pub kind: FfiKind,
pub description: String,
pub partial: Option<PartialOutcome>,
}Expand description
Error data for FFI consumption.
#[non_exhaustive] and output-only: bindings read it, only
ArchiveError::into_ffi_message builds it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: FfiKindError class and its class-specific payload.
description: StringHuman-readable, redacted description.
partial: Option<PartialOutcome>Set when the error came from a partially completed extraction.
Trait Implementations§
Source§impl Clone for FfiErrorMessage
impl Clone for FfiErrorMessage
Auto Trait Implementations§
impl Freeze for FfiErrorMessage
impl RefUnwindSafe for FfiErrorMessage
impl Send for FfiErrorMessage
impl Sync for FfiErrorMessage
impl Unpin for FfiErrorMessage
impl UnsafeUnpin for FfiErrorMessage
impl UnwindSafe for FfiErrorMessage
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