AERemoteProcessResolver

Struct AERemoteProcessResolver 

Source
pub struct AERemoteProcessResolver { /* private fields */ }
Available on crate feature AppleEvents only.
Expand description

Implementations§

Source§

impl AERemoteProcessResolver

Source

pub unsafe fn processes( ref: AERemoteProcessResolverRef, out_error: *mut CFStreamError, ) -> Option<CFRetained<CFArray>>

Available on crate feature AE only.
§Safety
  • ref must be a valid pointer.
  • out_error must be a valid pointer.
Source§

impl AERemoteProcessResolver

Source

pub unsafe fn schedule_with_run_loop( ref: AERemoteProcessResolverRef, run_loop: Option<&CFRunLoop>, run_loop_mode: Option<&CFString>, callback: AERemoteProcessResolverCallback, ctx: *const AERemoteProcessResolverContext, )

Available on crate feature AE only.
§Safety
  • ref must be a valid pointer.
  • run_loop possibly has additional threading requirements.
  • run_loop might not allow None.
  • run_loop_mode might not allow None.
  • callback must be implemented correctly.
  • ctx must be a valid pointer.

Trait Implementations§

Source§

impl Debug for AERemoteProcessResolver

Available on crate feature AE only.
Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl RefEncode for AERemoteProcessResolver

Available on crate features AE and objc2 only.
Source§

const ENCODING_REF: Encoding

The Objective-C type-encoding for a reference of this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,