Trait objc2_foundation::NSStreamDelegate

source ·
pub unsafe trait NSStreamDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn stream_handleEvent(
        &self,
        a_stream: &NSStream,
        event_code: NSStreamEvent
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSStream only.

Provided Methods§

source

unsafe fn stream_handleEvent( &self, a_stream: &NSStream, event_code: NSStreamEvent )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSStreamDelegate

source§

const NAME: &'static str = "NSStreamDelegate"

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 NSStreamDelegate

Implementations on Foreign Types§

source§

impl<T> NSStreamDelegate for ProtocolObject<T>
where T: ?Sized + NSStreamDelegate,

Implementors§