Trait objc2_mail_kit::MEMessageActionHandler

source ·
pub unsafe trait MEMessageActionHandler: NSObjectProtocol {
    // Provided methods
    unsafe fn decideActionForMessage_completionHandler(
        &self,
        message: &MEMessage,
        completion_handler: &Block<dyn Fn(*mut MEMessageActionDecision)>
    )
       where Self: Sized + Message { ... }
    unsafe fn requiredHeaders(&self) -> Retained<NSArray<NSString>>
       where Self: Sized + Message { ... }
}
Available on crate feature MEMessageActionHandler only.

Provided Methods§

source

unsafe fn decideActionForMessage_completionHandler( &self, message: &MEMessage, completion_handler: &Block<dyn Fn(*mut MEMessageActionDecision)> )
where Self: Sized + Message,

Available on crate features MEMessage and MEMessageActionDecision and block2 only.
source

unsafe fn requiredHeaders(&self) -> Retained<NSArray<NSString>>
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn MEMessageActionHandler

source§

const NAME: &'static str = "MEMessageActionHandler"

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 MEMessageActionHandler

Implementations on Foreign Types§

source§

impl<T> MEMessageActionHandler for ProtocolObject<T>

Implementors§