pub enum FfiError {
NoSuchName,
InvalidObject,
TypeMismatch,
InvalidArgument,
ReadOnly,
WrongThread,
IllegalState,
InsufficientMemory,
UnexpectedResult(FREResult),
}Variants§
NoSuchName
InvalidObject
TypeMismatch
InvalidArgument
ReadOnly
WrongThread
IllegalState
InsufficientMemory
UnexpectedResult(FREResult)
Trait Implementations§
Source§impl Error for FfiError
impl Error for FfiError
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<FfiError> for ContextError
impl From<FfiError> for ContextError
Source§impl From<FfiError> for ExternalError<'_>
impl From<FfiError> for ExternalError<'_>
impl Copy for FfiError
impl Eq for FfiError
impl StructuralPartialEq for FfiError
Auto Trait Implementations§
impl Freeze for FfiError
impl RefUnwindSafe for FfiError
impl Send for FfiError
impl Sync for FfiError
impl Unpin for FfiError
impl UnsafeUnpin 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