Struct makepad_objc_sys::MessageError
source · [−]pub struct MessageError(_);
Expand description
An error encountered while attempting to send a message.
Currently, an error may be returned in two cases:
- an Objective-C exception is thrown and the
exception
feature is enabled - the encodings of the arguments do not match the encoding of the method
and the
verify_message
feature is enabled
Trait Implementations
sourceimpl Debug for MessageError
impl Debug for MessageError
sourceimpl Display for MessageError
impl Display for MessageError
sourceimpl Error for MessageError
impl Error for MessageError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl RefUnwindSafe for MessageError
impl Send for MessageError
impl Sync for MessageError
impl Unpin for MessageError
impl UnwindSafe for MessageError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more