Trait objc2_mail_kit::MEMessageDecoder

source ·
pub unsafe trait MEMessageDecoder: NSObjectProtocol {
    // Provided method
    unsafe fn decodedMessageForMessageData(
        &self,
        data: &NSData
    ) -> Option<Retained<MEDecodedMessage>>
       where Self: Sized + Message { ... }
}
Available on crate feature MEMessageDecoder only.

Provided Methods§

source

unsafe fn decodedMessageForMessageData( &self, data: &NSData ) -> Option<Retained<MEDecodedMessage>>
where Self: Sized + Message,

Available on crate feature MEDecodedMessage only.

Trait Implementations§

source§

impl ProtocolType for dyn MEMessageDecoder

source§

const NAME: &'static str = "MEMessageDecoder"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn MEMessageDecoder

Implementations on Foreign Types§

source§

impl<T> MEMessageDecoder for ProtocolObject<T>
where T: ?Sized + MEMessageDecoder,

Implementors§