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
sender
might not allowNone
.new_bytes
might 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
sender
might not allowNone
.reason
might not allowNone
.