PKVehicleConnectionDelegate

Trait PKVehicleConnectionDelegate 

Source
pub unsafe trait PKVehicleConnectionDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn sessionDidChangeConnectionState(
        &self,
        new_state: PKVehicleConnectionSessionConnectionState,
    )
       where Self: Sized + Message { ... }
    unsafe fn sessionDidReceiveData(&self, data: &NSData)
       where Self: Sized + Message { ... }
}
Available on crate feature PKVehicleConnectionSession only.
Expand description

Provided Methods§

Source

unsafe fn sessionDidChangeConnectionState( &self, new_state: PKVehicleConnectionSessionConnectionState, )
where Self: Sized + Message,

Source

unsafe fn sessionDidReceiveData(&self, data: &NSData)
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn PKVehicleConnectionDelegate

Source§

const NAME: &'static str = "PKVehicleConnectionDelegate"

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 PKVehicleConnectionDelegate

Implementations on Foreign Types§

Source§

impl<T> PKVehicleConnectionDelegate for ProtocolObject<T>

Implementors§