Trait screen_capture_kit::stream::SCStreamDelegate

source ·
pub unsafe trait SCStreamDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn stream_did_stop_with_error(
        &self,
        stream: &SCStream,
        error: &NSError
    )
       where Self: Sized + Message { ... }
}

Provided Methods§

source

unsafe fn stream_did_stop_with_error(&self, stream: &SCStream, error: &NSError)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn SCStreamDelegate

source§

const NAME: &'static str = "SCStreamDelegate"

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 SCStreamDelegate

Implementations on Foreign Types§

source§

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

Implementors§