Skip to main content

SKRequestDelegate

Trait SKRequestDelegate 

Source
pub unsafe trait SKRequestDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn requestDidFinish(&self, request: &SKRequest)
       where Self: Sized + Message { ... }
    unsafe fn request_didFailWithError(
        &self,
        request: &SKRequest,
        error: &NSError,
    )
       where Self: Sized + Message { ... }
}
👎Deprecated:

No longer supported

Available on crate feature SKRequest only.
Expand description

Provided Methods§

Source

unsafe fn requestDidFinish(&self, request: &SKRequest)
where Self: Sized + Message,

👎Deprecated:

No longer supported

Source

unsafe fn request_didFailWithError(&self, request: &SKRequest, error: &NSError)
where Self: Sized + Message,

👎Deprecated:

No longer supported

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn SKRequestDelegate

Source§

impl ProtocolType for dyn SKRequestDelegate

Source§

const NAME: &'static str = "SKRequestDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

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

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> SKRequestDelegate for ProtocolObject<T>

Implementors§