pub unsafe trait NSURLSessionStreamDelegate: NSURLSessionTaskDelegate {
// Provided methods
fn URLSession_readClosedForStreamTask(
&self,
session: &NSURLSession,
stream_task: &NSURLSessionStreamTask,
)
where Self: Sized + Message { ... }
fn URLSession_writeClosedForStreamTask(
&self,
session: &NSURLSession,
stream_task: &NSURLSessionStreamTask,
)
where Self: Sized + Message { ... }
fn URLSession_betterRouteDiscoveredForStreamTask(
&self,
session: &NSURLSession,
stream_task: &NSURLSessionStreamTask,
)
where Self: Sized + Message { ... }
fn URLSession_streamTask_didBecomeInputStream_outputStream(
&self,
session: &NSURLSession,
stream_task: &NSURLSessionStreamTask,
input_stream: &NSInputStream,
output_stream: &NSOutputStream,
)
where Self: Sized + Message { ... }
}Available on crate feature
NSURLSession only.Expand description
Provided Methods§
fn URLSession_readClosedForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask, )
fn URLSession_writeClosedForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask, )
fn URLSession_betterRouteDiscoveredForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask, )
fn URLSession_streamTask_didBecomeInputStream_outputStream( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask, input_stream: &NSInputStream, output_stream: &NSOutputStream, )
Available on crate feature
NSStream only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSURLSessionStreamDelegate
Source§impl ProtocolType for dyn NSURLSessionStreamDelegate
impl ProtocolType for dyn NSURLSessionStreamDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".