Trait objc2_mail_kit::MEMessageSecurityHandler

source ·
pub unsafe trait MEMessageSecurityHandler: MEMessageDecoder + MEMessageEncoder {
    // Provided methods
    unsafe fn extensionViewControllerForMessageSigners(
        &self,
        message_signers: &NSArray<MEMessageSigner>,
        mtm: MainThreadMarker
    ) -> Option<Retained<MEExtensionViewController>>
       where Self: Sized + Message { ... }
    unsafe fn extensionViewControllerForMessageContext(
        &self,
        context: &NSData,
        mtm: MainThreadMarker
    ) -> Option<Retained<MEExtensionViewController>>
       where Self: Sized + Message { ... }
    unsafe fn primaryActionClickedForMessageContext_completionHandler(
        &self,
        context: &NSData,
        completion_handler: &Block<dyn Fn(*mut MEExtensionViewController)>
    )
       where Self: Sized + Message { ... }
}
Available on crate features MEMessageDecoder and MEMessageEncoder and MEMessageSecurityHandler only.

Provided Methods§

source

unsafe fn extensionViewControllerForMessageSigners( &self, message_signers: &NSArray<MEMessageSigner>, mtm: MainThreadMarker ) -> Option<Retained<MEExtensionViewController>>
where Self: Sized + Message,

Available on crate features MEExtensionViewController and MEMessageSigner and objc2-app-kit only.
source

unsafe fn extensionViewControllerForMessageContext( &self, context: &NSData, mtm: MainThreadMarker ) -> Option<Retained<MEExtensionViewController>>
where Self: Sized + Message,

Available on crate features MEExtensionViewController and objc2-app-kit only.
source

unsafe fn primaryActionClickedForMessageContext_completionHandler( &self, context: &NSData, completion_handler: &Block<dyn Fn(*mut MEExtensionViewController)> )
where Self: Sized + Message,

Available on crate features MEExtensionViewController and block2 and objc2-app-kit only.

Trait Implementations§

source§

impl ProtocolType for dyn MEMessageSecurityHandler

source§

const NAME: &'static str = "MEMessageSecurityHandler"

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 MEMessageSecurityHandler

Implementations on Foreign Types§

source§

impl<T> MEMessageSecurityHandler for ProtocolObject<T>

Implementors§