Trait NSURLSessionStreamDelegate

Source
pub unsafe trait NSURLSessionStreamDelegate: NSURLSessionTaskDelegate {
    // Provided methods
    unsafe fn URLSession_readClosedForStreamTask(
        &self,
        session: &NSURLSession,
        stream_task: &NSURLSessionStreamTask,
    )
       where Self: Sized + Message { ... }
    unsafe fn URLSession_writeClosedForStreamTask(
        &self,
        session: &NSURLSession,
        stream_task: &NSURLSessionStreamTask,
    )
       where Self: Sized + Message { ... }
    unsafe fn URLSession_betterRouteDiscoveredForStreamTask(
        &self,
        session: &NSURLSession,
        stream_task: &NSURLSessionStreamTask,
    )
       where Self: Sized + Message { ... }
    unsafe 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§

Source

unsafe fn URLSession_readClosedForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask, )
where Self: Sized + Message,

Source

unsafe fn URLSession_writeClosedForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask, )
where Self: Sized + Message,

Source

unsafe fn URLSession_betterRouteDiscoveredForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask, )
where Self: Sized + Message,

Source

unsafe 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 NSStream only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSURLSessionStreamDelegate

Source§

const NAME: &'static str = "NSURLSessionStreamDelegate"

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 NSURLSessionStreamDelegate

Implementations on Foreign Types§

Source§

impl<T> NSURLSessionStreamDelegate for ProtocolObject<T>

Implementors§