Trait NSURLHandleClient

Source
pub unsafe trait NSURLHandleClient {
    // Provided methods
    unsafe fn URLHandle_resourceDataDidBecomeAvailable(
        &self,
        sender: Option<&NSURLHandle>,
        new_bytes: Option<&NSData>,
    )
       where Self: Sized + Message { ... }
    unsafe fn URLHandleResourceDidBeginLoading(
        &self,
        sender: Option<&NSURLHandle>,
    )
       where Self: Sized + Message { ... }
    unsafe fn URLHandleResourceDidFinishLoading(
        &self,
        sender: Option<&NSURLHandle>,
    )
       where Self: Sized + Message { ... }
    unsafe fn URLHandleResourceDidCancelLoading(
        &self,
        sender: Option<&NSURLHandle>,
    )
       where Self: Sized + Message { ... }
    unsafe fn URLHandle_resourceDidFailLoadingWithReason(
        &self,
        sender: Option<&NSURLHandle>,
        reason: Option<&NSString>,
    )
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature NSURLHandle only.
Expand description

Provided Methods§

Source

unsafe fn URLHandle_resourceDataDidBecomeAvailable( &self, sender: Option<&NSURLHandle>, new_bytes: Option<&NSData>, )
where Self: Sized + Message,

👎Deprecated
Available on crate feature NSData only.
Source

unsafe fn URLHandleResourceDidBeginLoading(&self, sender: Option<&NSURLHandle>)
where Self: Sized + Message,

👎Deprecated
Source

unsafe fn URLHandleResourceDidFinishLoading(&self, sender: Option<&NSURLHandle>)
where Self: Sized + Message,

👎Deprecated
Source

unsafe fn URLHandleResourceDidCancelLoading(&self, sender: Option<&NSURLHandle>)
where Self: Sized + Message,

👎Deprecated
Source

unsafe fn URLHandle_resourceDidFailLoadingWithReason( &self, sender: Option<&NSURLHandle>, reason: Option<&NSString>, )
where Self: Sized + Message,

👎Deprecated
Available on crate feature NSString only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSURLHandleClient

Source§

const NAME: &'static str = "NSURLHandleClient"

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
Source§

impl<T> ImplementedBy<T> for dyn NSURLHandleClient

Implementations on Foreign Types§

Source§

impl<T> NSURLHandleClient for ProtocolObject<T>

Implementors§