pub struct CallFailure {
pub error: PhpError,
pub exception: Option<Value>,
}Expand description
A PHP call that failed: the error, and the thrown object when PHP threw one (a Value::Opaque), so a native
function can rethrow the original exception.
Fields§
§error: PhpError§exception: Option<Value>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CallFailure
impl !Send for CallFailure
impl !Sync for CallFailure
impl !UnwindSafe for CallFailure
impl Forget for CallFailure
impl Freeze for CallFailure
impl Move for CallFailure
impl Unpin for CallFailure
impl UnsafeUnpin for CallFailure
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