Trait WebDownloadDelegate

Source
pub unsafe trait WebDownloadDelegate: NSURLDownloadDelegate {
    // Provided method
    unsafe fn downloadWindowForAuthenticationSheet(
        &self,
        download: Option<&WebDownload>,
        mtm: MainThreadMarker,
    ) -> Option<Retained<NSWindow>>
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature WebDownload only.
Expand description

The WebDownloadDelegate delegate has one extra method used to choose the right window when automatically prompting with a sheet.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn downloadWindowForAuthenticationSheet( &self, download: Option<&WebDownload>, mtm: MainThreadMarker, ) -> Option<Retained<NSWindow>>
where Self: Sized + Message,

👎Deprecated
Available on crate feature objc2-app-kit and macOS only.

Trait Implementations§

Source§

impl ProtocolType for dyn WebDownloadDelegate

Source§

const NAME: &'static str = "WebDownloadDelegate"

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 WebDownloadDelegate

Implementations on Foreign Types§

Source§

impl<T> WebDownloadDelegate for ProtocolObject<T>

Implementors§