pub unsafe trait MEContentBlocker: NSObjectProtocol {
// Provided method
unsafe fn contentRulesJSON(&self) -> Retained<NSData>
where Self: Sized + Message { ... }
}Available on crate feature
MEContentBlocker only.Expand description
Methods in this protocol can be used by a mail app extension to block content in mail messages.
See also Apple’s documentation
Provided Methods§
Trait Implementations§
impl<T> ImplementedBy<T> for dyn MEContentBlocker
Source§impl ProtocolType for dyn MEContentBlocker
impl ProtocolType for dyn MEContentBlocker
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".