Trait objc2_foundation::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.

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