pub struct FFIError {
pub code: String,
pub message: String,
pub location: Option<FFIErrorLocation>,
pub severity: FFIErrorSeverity,
pub hint: Option<String>,
pub category: FFIErrorCategory,
}
Expand description
FFI-safe error type for cross-language bindings
Fields§
§code: String
§message: String
§location: Option<FFIErrorLocation>
§severity: FFIErrorSeverity
§hint: Option<String>
§category: FFIErrorCategory
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FFIError
impl<'de> Deserialize<'de> for FFIError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FFIError
impl RefUnwindSafe for FFIError
impl Send for FFIError
impl Sync for FFIError
impl Unpin for FFIError
impl UnwindSafe for FFIError
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