Skip to main content

ASAccountAuthenticationModificationControllerDelegate

Trait ASAccountAuthenticationModificationControllerDelegate 

Source
pub unsafe trait ASAccountAuthenticationModificationControllerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn accountAuthenticationModificationController_didSuccessfullyCompleteRequest_withUserInfo(
        &self,
        controller: &ASAccountAuthenticationModificationController,
        request: &ASAccountAuthenticationModificationRequest,
        user_info: Option<&NSDictionary>,
    )
       where Self: Sized + Message { ... }
    unsafe fn accountAuthenticationModificationController_didFailRequest_withError(
        &self,
        controller: &ASAccountAuthenticationModificationController,
        request: &ASAccountAuthenticationModificationRequest,
        error: &NSError,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature ASAccountAuthenticationModificationController only.
Expand description

Provided Methods§

Source

unsafe fn accountAuthenticationModificationController_didSuccessfullyCompleteRequest_withUserInfo( &self, controller: &ASAccountAuthenticationModificationController, request: &ASAccountAuthenticationModificationRequest, user_info: Option<&NSDictionary>, )
where Self: Sized + Message,

Available on crate feature ASAccountAuthenticationModificationRequest only.
§Safety

user_info generic should be of the correct type.

Source

unsafe fn accountAuthenticationModificationController_didFailRequest_withError( &self, controller: &ASAccountAuthenticationModificationController, request: &ASAccountAuthenticationModificationRequest, error: &NSError, )
where Self: Sized + Message,

Available on crate feature ASAccountAuthenticationModificationRequest only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn ASAccountAuthenticationModificationControllerDelegate

Source§

impl ProtocolType for dyn ASAccountAuthenticationModificationControllerDelegate

Source§

const NAME: &'static str = "ASAccountAuthenticationModificationControllerDelegate"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> ASAccountAuthenticationModificationControllerDelegate for ProtocolObject<T>

Implementors§