pub unsafe trait ASAuthorizationControllerDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn authorizationController_didCompleteWithAuthorization(
&self,
controller: &ASAuthorizationController,
authorization: &ASAuthorization,
)
where Self: Sized + Message { ... }
unsafe fn authorizationController_didCompleteWithError(
&self,
controller: &ASAuthorizationController,
error: &NSError,
)
where Self: Sized + Message { ... }
unsafe fn authorizationController_didCompleteWithCustomMethod(
&self,
controller: &ASAuthorizationController,
method: &ASAuthorizationCustomMethod,
)
where Self: Sized + Message { ... }
}Available on crate feature
ASAuthorizationController only.Expand description
Provided Methods§
Available on crate feature
ASAuthorization only.Available on crate feature
ASAuthorizationCustomMethod only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn ASAuthorizationControllerDelegate
Source§impl ProtocolType for dyn ASAuthorizationControllerDelegate
impl ProtocolType for dyn ASAuthorizationControllerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".