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§
unsafe fn stream_did_stop_with_error(&self, stream: &SCStream, error: &NSError)
Trait Implementations§
impl<T> ImplementedBy<T> for dyn SCStreamDelegate
Source§impl ProtocolType for dyn SCStreamDelegate
impl ProtocolType for dyn SCStreamDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".