pub struct FfiErrorMessage {
pub code: &'static str,
pub description: String,
pub context: Option<String>,
}Expand description
Error message for FFI consumption.
Contains structured error information that can be converted to platform-specific error types (Python exceptions, Node.js Error objects).
Fields§
§code: &'static strError code (e.g., PATH_TRAVERSAL, ZIP_BOMB)
description: StringHuman-readable error description
context: Option<String>Optional additional context
Trait Implementations§
Source§impl Clone for FfiErrorMessage
impl Clone for FfiErrorMessage
Source§fn clone(&self) -> FfiErrorMessage
fn clone(&self) -> FfiErrorMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FfiErrorMessage
impl RefUnwindSafe for FfiErrorMessage
impl Send for FfiErrorMessage
impl Sync for FfiErrorMessage
impl Unpin 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