Struct objc::MessageError [] [src]

pub struct MessageError(_);

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

impl Debug for MessageError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for MessageError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for MessageError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more