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§
Sourceunsafe fn URLHandle_resourceDataDidBecomeAvailable(
&self,
sender: Option<&NSURLHandle>,
new_bytes: Option<&NSData>,
)
👎DeprecatedAvailable on crate feature NSData only.
unsafe fn URLHandle_resourceDataDidBecomeAvailable( &self, sender: Option<&NSURLHandle>, new_bytes: Option<&NSData>, )
NSData only.§Safety
sendermight not allowNone.new_bytesmight not allowNone.
Sourceunsafe fn URLHandleResourceDidBeginLoading(&self, sender: Option<&NSURLHandle>)
👎Deprecated
unsafe fn URLHandleResourceDidBeginLoading(&self, sender: Option<&NSURLHandle>)
§Safety
sender might not allow None.
Sourceunsafe fn URLHandleResourceDidFinishLoading(&self, sender: Option<&NSURLHandle>)
👎Deprecated
unsafe fn URLHandleResourceDidFinishLoading(&self, sender: Option<&NSURLHandle>)
§Safety
sender might not allow None.
Sourceunsafe fn URLHandleResourceDidCancelLoading(&self, sender: Option<&NSURLHandle>)
👎Deprecated
unsafe fn URLHandleResourceDidCancelLoading(&self, sender: Option<&NSURLHandle>)
§Safety
sender might not allow None.
Sourceunsafe fn URLHandle_resourceDidFailLoadingWithReason(
&self,
sender: Option<&NSURLHandle>,
reason: Option<&NSString>,
)
👎DeprecatedAvailable on crate feature NSString only.
unsafe fn URLHandle_resourceDidFailLoadingWithReason( &self, sender: Option<&NSURLHandle>, reason: Option<&NSString>, )
NSString only.§Safety
sendermight not allowNone.reasonmight not allowNone.
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSURLHandleClient
Source§impl ProtocolType for dyn NSURLHandleClient
impl ProtocolType for dyn NSURLHandleClient
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".